Browse Source

Remove json and plaintext tests to reduce test time

Roman Samoilov 7 months ago
parent
commit
651b1bc312

+ 0 - 8
frameworks/Ruby/rage-sequel/app/controllers/benchmarks_controller.rb

@@ -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

+ 0 - 2
frameworks/Ruby/rage-sequel/benchmark_config.json

@@ -3,8 +3,6 @@
   "tests": [
     {
       "default": {
-        "json_url": "/json",
-        "plaintext_url": "/plaintext",
         "db_url": "/db",
         "query_url": "/queries?queries=",
         "fortune_url": "/fortunes",

+ 0 - 2
frameworks/Ruby/rage-sequel/config/routes.rb

@@ -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"