Skip to content

Commit

Permalink
Remove json and plaintext tests to reduce test time
Browse files Browse the repository at this point in the history
  • Loading branch information
rsamoilov committed Jan 17, 2025
1 parent 9b0e1c3 commit c345253
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ class BenchmarksController < ApplicationController
headers["server"] = "rage"
end

def json
render json: { message: "Hello, World!" }
end

def plaintext
render plain: "Hello, World!"
end

def db
render json: World.with_pk(random_id).values
end
Expand Down
2 changes: 0 additions & 2 deletions frameworks/Ruby/rage-sequel/config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Rage.routes.draw do
root to: ->(env) { [200, {}, "It works!"] }

get "json", to: "benchmarks#json"
get "plaintext", to: "benchmarks#plaintext"
get "db", to: "benchmarks#db"
get "queries", to: "benchmarks#queries"
get "fortunes", to: "benchmarks#fortunes"
Expand Down
2 changes: 0 additions & 2 deletions frameworks/Ruby/rage/benchmark_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"tests": [
{
"default": {
"json_url": "/json",
"plaintext_url": "/plaintext",
"db_url": "/db",
"query_url": "/queries?queries=",
"fortune_url": "/fortunes",
Expand Down

0 comments on commit c345253

Please sign in to comment.