django
Flagship · Python · engine: uvicorn · standard configuration · completeness 4/4
Django 6.1 as an ASGI application on Uvicorn. URLconf routing and path converters through the Django API, JsonResponse for the JSON payload, GZipMiddleware for compression. Postgres through asyncpg for async-db and fortunes, the latter rendered per request by the Django Template Language from a template file, with the cached loader in front of it.
Composite rank
Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 70 of 71 | 227 |
Every result
Alpha Round, 13 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 29,206 | 137.76ms | 265.10ms | 5923.5% | 6.0GiB |
| Connection | Pipelined | 4,096 | 55,483 | 1.03s | 1.61s | 6168.8% | 5.7GiB |
| Connection | Short-lived | 4,096 | 29,247 | 135.21ms | 548.80ms | 5941.7% | 6.0GiB |
| Concurrency | Async Delay | 32,000 | 25,428 | 637.39ms | 4.00s | 4949.6% | 7.9GiB |
| Efficiency | Latency-10K | 1,024 | 9,980 | 1795.8us | 4914.0us | 1897.6% | 5.1GiB |
| Efficiency | Latency-1M | 1,024 | 30,835 | 9644568.4us | 19128320.0us | 5204.5% | 5.3GiB |
| Efficiency | Latency-500K/8 | 1,024 | 4,937 | 9789288.4us | 19554304.0us | 687.1% | 965MiB |
| Workload | JSON Comp | 4,096 | 24,224 | 165.42ms | 342.70ms | 5994.1% | 7.9GiB |
| Workload | JSON Comp | 16,384 | 21,979 | 561.47ms | 2.59s | 5836.9% | 12.2GiB |
| Workload | JSON TLS | 4,096 | 25,017 | 151.00ms | 423.43ms | 6217.7% | 6.0GiB |
| Workload | 8Gbit | 512 | 27,527 | 935603.5us | 3001344.0us | 5152.2% | 5.3GiB |
| Database | Async DB | 1,024 | 3,874 | 232.24ms | 2.52s | 1428.2% | 5.3GiB |
| Database | Fortunes | 1,024 | 5,500 | 139.17ms | 412.20ms | 5117.8% | 5.4GiB |
Compared with
The Python entries around django on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs django | |
|---|---|---|---|
| fastpysgi-wsgi | 3148 | +1286% | head to head |
| flask | 343 | +51% | head to head |
| bottle | 289 | +27% | head to head |
Compare django with any Python entry · Compare django with any entry, in any language · Every Python entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry