uvicorn
Engine · Python · engine: uvloop
An ASGI web server implementation for Python (uvloop)
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. 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 | 26 of 34 | 73 |
Every result
Alpha Round, 22 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 | 512 | 691,849 | 739us | 1.53ms | 6486.6% | 3.2GiB |
| Connection | Baseline | 4,096 | 727,096 | 5.57ms | 6.92ms | 6377.1% | 3.2GiB |
| Connection | Pipelined | 512 | 797,839 | 10.27ms | 12.90ms | 6513.0% | 3.2GiB |
| Connection | Pipelined | 4,096 | 799,828 | 80.22ms | 91.30ms | 6376.6% | 3.4GiB |
| Connection | Short-lived | 512 | 570,633 | 886us | 1.87ms | 6400.2% | 4.9GiB |
| Connection | Short-lived | 4,096 | 588,030 | 5.18ms | 36.70ms | 6283.7% | 5.0GiB |
| Workload | JSON | 4,096 | 465,616 | 7.99ms | 115.70ms | 6317.1% | 3.8GiB |
| Workload | JSON Comp | 512 | 271,121 | 1.88ms | 4.30ms | 6378.1% | 3.6GiB |
| 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 | Upload | 32 | 1,668 | 19.11ms | 84.00ms | 2698.9% | 3.2GiB |
| Workload | Upload | 256 | 1,174 | 208.56ms | 1.04s | 6289.7% | 3.4GiB |
| Workload | Static | 1,024 | 641,456 | 1.59ms | 1.59ms | 6568.0% | 3.2GiB |
| Workload | Static | 4,096 | 612,909 | 6.58ms | 6.58ms | 6305.3% | 3.3GiB |
| Workload | Static | 6,800 | 570,140 | 11.68ms | 11.68ms | 6253.2% | 3.4GiB |
| Workload | Static TLS | 1,024 | 407,217 | 2.51ms | 31.52ms | 6457.2% | 3.4GiB |
| Workload | Static TLS | 4,096 | 344,477 | 11.51ms | 96.00ms | 6372.9% | 3.9GiB |
| Workload | Static TLS | 6,800 | 320,764 | 19.85ms | 160.98ms | 6253.9% | 4.3GiB |
| Database | Async DB | 1,024 | 64,851 | 14.95ms | 364.40ms | 2669.3% | 3.4GiB |
| Multi-endpoint | API-4 | 256 | 24,793 | 9.66ms | 46.10ms | 399.2% | 447MiB |
| Multi-endpoint | API-16 | 1,024 | 62,631 | 15.29ms | 72.70ms | 1571.4% | 1.3GiB |
How the benchmark is run · The machine · Add or fix an entry