Procházet zdrojové kódy

[ci skip] Fix Fastapi and Silverlining default (#7625)

Joan Miquel před 2 roky
rodič
revize
a9bdbc9d9d

+ 3 - 7
frameworks/Go/silverlining/benchmark_config.json

@@ -1,7 +1,6 @@
 {
   "framework": "silverlining",
-  "tests": [
-    {
+  "tests": [{
       "default": {
         "json_url": "/json",
         "plaintext_url": "/plaintext",
@@ -20,9 +19,7 @@
         "display_name": "silverlining",
         "notes": "",
         "versus": "go"
-      }
-    },
-    {
+      },
       "prefork": {
         "json_url": "/json",
         "plaintext_url": "/plaintext",
@@ -42,6 +39,5 @@
         "notes": "",
         "versus": "go"
       }
-    }
-  ]
+    }]
 }

+ 3 - 5
frameworks/Python/fastapi/benchmark_config.json

@@ -1,8 +1,7 @@
 {
   "framework": "fastapi",
-  "tests": [
-    {
-      "gunicorn": {
+  "tests": [{
+      "default": {
         "json_url": "/json",
         "fortune_url": "/fortunes",
         "plaintext_url": "/plaintext",
@@ -208,6 +207,5 @@
         "notes": "",
         "versus": "None"
       }
-    }
-  ]
+    }]
 }