litestar
Flagship · Python · engine: uvicorn · standard configuration
Litestar 2 on uvicorn with uvloop and httptools, one worker per core. Routing and parameter injection through the Litestar API, msgspec JSON serialization, gzip through the Litestar compression config.
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 | 55 of 71 | 137 |
Every result
Alpha Round, 12 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 | 318,866 | 1.60ms | 3.40ms | 6430.2% | 1.9GiB |
| Connection | Baseline | 4,096 | 322,671 | 12.63ms | 18.30ms | 6369.9% | 1.9GiB |
| Connection | Pipelined | 512 | 384,419 | 21.31ms | 29.00ms | 6512.7% | 1.9GiB |
| Connection | Pipelined | 4,096 | 384,308 | 167.31ms | 229.20ms | 6390.3% | 2.1GiB |
| Connection | Short-lived | 512 | 293,786 | 1.73ms | 3.82ms | 6482.1% | 3.0GiB |
| Connection | Short-lived | 4,096 | 297,008 | 9.93ms | 73.50ms | 6343.4% | 3.0GiB |
| Workload | JSON | 4,096 | 276,744 | 13.51ms | 195.60ms | 6337.5% | 2.3GiB |
| Workload | JSON Comp | 512 | 136,361 | 3.75ms | 8.48ms | 6426.2% | 2.1GiB |
| Workload | JSON Comp | 4,096 | 137,449 | 27.22ms | 393.90ms | 6347.9% | 2.1GiB |
| Workload | JSON Comp | 16,384 | 133,094 | 62.42ms | 408.20ms | 6163.4% | 2.3GiB |
| Workload | Upload | 32 | 2,126 | 14.99ms | 65.90ms | 2261.0% | 1.9GiB |
| Workload | Upload | 256 | 1,554 | 159.89ms | 852.40ms | 6459.1% | 2.2GiB |
How the benchmark is run · The machine · Add or fix an entry