Skip to content

Commit 651b1bc

Browse files
committed
Remove json and plaintext tests to reduce test time
1 parent 9b0e1c3 commit 651b1bc

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

frameworks/Ruby/rage-sequel/app/controllers/benchmarks_controller.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ class BenchmarksController < ApplicationController
88
headers["server"] = "rage"
99
end
1010

11-
def json
12-
render json: { message: "Hello, World!" }
13-
end
14-
15-
def plaintext
16-
render plain: "Hello, World!"
17-
end
18-
1911
def db
2012
render json: World.with_pk(random_id).values
2113
end

frameworks/Ruby/rage-sequel/benchmark_config.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"tests": [
44
{
55
"default": {
6-
"json_url": "/json",
7-
"plaintext_url": "/plaintext",
86
"db_url": "/db",
97
"query_url": "/queries?queries=",
108
"fortune_url": "/fortunes",

frameworks/Ruby/rage-sequel/config/routes.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Rage.routes.draw do
22
root to: ->(env) { [200, {}, "It works!"] }
33

4-
get "json", to: "benchmarks#json"
5-
get "plaintext", to: "benchmarks#plaintext"
64
get "db", to: "benchmarks#db"
75
get "queries", to: "benchmarks#queries"
86
get "fortunes", to: "benchmarks#fortunes"

0 commit comments

Comments
 (0)