From: Sam Mirazi Date: Mon, 2 Jun 2025 05:15:41 +0000 (-0700) Subject: 20-core CPU X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=59fc8044bfbeb4f9a6a4a57c0c76e1d5a26be8a7;p=fastapi-vs-flask%2F.git 20-core CPU --- diff --git a/run_benchmark_NO_RESTRICTIONS.py b/run_benchmark_NO_RESTRICTIONS.py index c351ab1..fa855f9 100644 --- a/run_benchmark_NO_RESTRICTIONS.py +++ b/run_benchmark_NO_RESTRICTIONS.py @@ -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 },