uvicorn
Engine · Python · engine: uvloop
An ASGI web server implementation for Python (uvloop)
Achievements
🥈 2 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.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥈 Silver | Within its language | Python · HTTP/1.1 | 2 of 3 |
| 🥈 Silver | Test profile | Efficiency · Latency-10K | 2 of 44 |
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.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 30 of 46 | 1267 |
Every result
Alpha Round, 9 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 | 727,096 | 5.57ms | 6.92ms | 6377.1% | 3.2GiB |
| Connection | Pipelined | 4,096 | 799,828 | 80.22ms | 91.30ms | 6376.6% | 3.4GiB |
| Connection | Short-lived | 4,096 | 588,030 | 5.18ms | 36.70ms | 6283.7% | 5.0GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 197.8us | 313.0us | 160.6% | 3.2GiB |
| Efficiency | Latency-1M | 1,024 | 659,849 | 2963173.9us | 10194944.0us | 6610.5% | 3.2GiB |
| Workload | JSON Comp | 4,096 | 271,388 | 13.58ms | 198.00ms | 6242.7% | 3.6GiB |
| Workload | JSON Comp | 16,384 | 263,652 | 25.95ms | 207.60ms | 6050.8% | 3.6GiB |
| Workload | JSON TLS | 4,096 | 336,946 | 11.76ms | 11.76ms | 6177.3% | 3.5GiB |
| Workload | 8Gbit | 512 | 49,239 | 210.7us | 403.0us | 750.1% | 3.3GiB |
Compared with
The Python HTTP engines around uvicorn 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.
| Entry | Composite | vs uvicorn | |
|---|---|---|---|
| fastpysgi-wsgi | 2458 | +94% | head to head |
| fastpysgi-asgi | 1080 | -15% | 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