HttpArena
Frameworks

uvicorn

Engine · Python · engine: uvloop

An ASGI web server implementation for Python (uvloop)

Achievements

🥇 1 Gold · 🥈 1 Silver. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥇 GoldTest profileEfficiency · Latency-10K1 of 24
🥈 SilverWithin its languagePython · HTTP/1.12 of 3

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.

FamilyRankComposite
HTTP/1.121 of 261518

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,096727,0965.57ms6.92ms6377.1%3.2GiB
ConnectionPipelined4,096799,82880.22ms91.30ms6376.6%3.4GiB
ConnectionShort-lived4,096588,0305.18ms36.70ms6283.7%5.0GiB
EfficiencyLatency-10K1,0249,983197.8us313.0us160.6%3.2GiB
EfficiencyLatency-1M1,024659,8492963173.9us10194944.0us6610.5%3.2GiB
WorkloadJSON Comp4,096271,38813.58ms198.00ms6242.7%3.6GiB
WorkloadJSON Comp16,384263,65225.95ms207.60ms6050.8%3.6GiB
WorkloadJSON TLS4,096336,94611.76ms11.76ms6177.3%3.5GiB
Workload8Gbit51249,239210.7us403.0us750.1%3.3GiB
DatabaseAsync DB1,02464,85114.95ms364.40ms2669.3%3.4GiB

Compared with

The Python entries around uvicorn on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs uvicorn
fastpysgi-wsgi3148+107%head to head
sanic1630+7%head to head
starlette1624+7%head to head
litestar1504-1%head to head
fastpysgi-asgi1362-10%head to head

Compare uvicorn with any Python entry · Compare uvicorn with any entry, in any language · Every Python entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry