HttpArena

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 its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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.

FamilyRankComposite
HTTP/1.187 of 88117

Every result

Alpha Round, 10 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,09629,206137.76ms265.10ms5923.5%6.0GiB
ConnectionPipelined4,09655,4831.03s1.61s6168.8%5.7GiB
ConnectionShort-lived4,09629,247135.21ms548.80ms5941.7%6.0GiB
ConcurrencyAsync Delay32,00025,428637.39ms4.00s4949.6%7.9GiB
EfficiencyLatency-10K1,0249,9801795.8us4914.0us1897.6%5.1GiB
EfficiencyLatency-1M1,02430,8359644568.4us19128320.0us5204.5%5.3GiB
WorkloadJSON Comp4,09624,224165.42ms342.70ms5994.1%7.9GiB
WorkloadJSON Comp16,38421,979561.47ms2.59s5836.9%12.2GiB
WorkloadJSON TLS4,09625,017151.00ms423.43ms6217.7%6.0GiB
Workload8Gbit51227,527935603.5us3001344.0us5152.2%5.3GiB

Compared with

The Python web frameworks around django on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

EntryCompositevs django
mq-bridge-py1571+1245%head to head
bottle178+53%head to head
flask175+50%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