Benchmarking programming languages and web frameworks
Framework | Requests per second (higher is better) | Latency (lower is better) | Stability (higher is better) | Memory (lower is better) |
---|---|---|---|---|
Python v3.12 / Django v4.2 (Development Server) | 949 | 23.7 ms | 25.60 % | 85.7 MB |
Python v3.11 / Django v4.2 (Development Server) | 883 | 24.7 ms | 25.49 % | 87.3 MB |
Python v3.10 / Django v4.2 (Development Server) | 854 | 27.2 ms | 28.74 % | 81.3 MB |
Python v3.9 / Django v4.2 (Development Server) | 797 | 30.3 ms | 29.11 % | 82.4 MB |
Python v3.8 / Django v4.2 (Uvicorn) | 272 | 107.1 ms | 44.57 % | 46.0 MB |
Python v3.8 / Django v4.2 (Gunicorn) | 219 | 13.7 ms | 3.78 % | 132.7 MB |
Python v3.8 / Django v4.2 (Development Server) | 796 | 29.8 ms | 30.77 % | 80.1 MB |
Framework | Requests per second (higher is better) | Latency (lower is better) | Stability (higher is better) | Memory (lower is better) |
---|---|---|---|---|
Python / FastAPI (Uvicorn) | 1422 | 19.4 ms | 27.29 % | 42.6 MB |
Python / Django (Development Server) | 949 | 23.7 ms | 25.60 % | 85.7 MB |
Python / Flask (Development Server) | 639 | 36.9 ms | 11.28 % | 24.8 MB |
Python / Django (Uvicorn) | 272 | 107.1 ms | 44.57 % | 46.0 MB |
Python / Django (Gunicorn) | 219 | 13.7 ms | 3.78 % | 132.7 MB |
Python / Flask (Gunicorn) | 133 | 12.3 ms | 3.70 % | 88.8 MB |