20-core CPU
authorSam Mirazi <sasan345@gmail.com>
Mon, 2 Jun 2025 05:15:41 +0000 (22:15 -0700)
committerSam Mirazi <sasan345@gmail.com>
Mon, 2 Jun 2025 05:15:41 +0000 (22:15 -0700)
run_benchmark_NO_RESTRICTIONS.py

index c351ab1a90385fd3776695eea4b8e659c46d455e..fa855f94bf7568778d8fe3a2b2f80f26c905f17a 100644 (file)
@@ -156,10 +156,10 @@ def display_table(rows):
 SCENARIOS = [
     {
         "name": "FastAPI (No Delay)",
-        "config": "Uvicorn, async (default)",
+        "config": "Uvicorn, async (41 workers)",
         "delay": "None",
         "cmd": ["uvicorn", "app_fastapi.app_no_delay:app", "--host", "0.0.0.0",
-                "--port", "8000", "--log-level", "warning"],
+                "--port", "8000", "--log-level", "warning", "--workers", "41"],
         "url": FASTAPI_SERVER_URL,
         "bench_arg": "fastapi", # benchmark/run_benchmark.py uses this to pick the URL/method
     },