From: Sam Mirazi Date: Tue, 3 Jun 2025 19:18:03 +0000 (-0700) Subject: requirements updated X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=94a3db54d05f28b8d535b43cbc8c719a0016865e;p=fastapi-vs-flask%2F.git requirements updated --- diff --git a/app_fastapi/__pycache__/FastAPI_no_delay.cpython-312.pyc b/app_fastapi/__pycache__/FastAPI_no_delay.cpython-312.pyc new file mode 100644 index 0000000..1c184c1 Binary files /dev/null and b/app_fastapi/__pycache__/FastAPI_no_delay.cpython-312.pyc differ diff --git a/requirements.txt b/requirements.txt index 3485943..09bc532 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ uvicorn==0.34.2 pytest==8.3.5 httpx==0.28.1 requests==2.32.3 +rich==14.0.0 # Optional, as per TDD plan: # tenacity diff --git a/run_benchmark_NO_RESTRICTIONS.py b/run_benchmark_NO_RESTRICTIONS.py index 46a5148..15965f9 100644 --- a/run_benchmark_NO_RESTRICTIONS.py +++ b/run_benchmark_NO_RESTRICTIONS.py @@ -222,12 +222,12 @@ def display_table(rows): SCENARIOS = [ { "name": "FastAPI (No Delay)", - "config": "Uvicorn, async (1 worker, httptools)", + "config": "Uvicorn, async (1 worker, h11)", "delay": "None", "cmd": ["uvicorn", "app_fastapi.FastAPI_no_delay:app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "warning", "--workers", "1", - "--http", "httptools" + "--http", "h11" ], "url": FASTAPI_SERVER_URL, "bench_arg": "fastapi",