axum
Flagship · Rust · engine: hyper · standard configuration
Axum 0.8 on hyper with the multi-threaded Tokio runtime, default configuration. Routing and path/query extractors through the Axum API, serde_json via the Json response, gzip through the tower-http compression layer.
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 | 61 of 71 | 122 |
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 | 432,272 | 1.11ms | 4.79ms | 2174.5% | 61MiB |
| Connection | Baseline | 4,096 | 755,895 | 1.79ms | 11.30ms | 3178.0% | 124MiB |
| Connection | Pipelined | 512 | 5,822,816 | 1.30ms | 3.30ms | 6158.7% | 45MiB |
| Connection | Pipelined | 4,096 | 6,500,142 | 5.01ms | 16.70ms | 6549.7% | 106MiB |
| Connection | Short-lived | 512 | 312,369 | 676us | 3.80ms | 1332.7% | 49MiB |
| Connection | Short-lived | 4,096 | 315,827 | 854us | 3.83ms | 1313.4% | 53MiB |
| Workload | JSON | 4,096 | 216,299 | 1.02ms | 15.00ms | 1525.8% | 43MiB |
| Workload | JSON Comp | 512 | 113,007 | 1.88ms | 26.90ms | 4129.0% | 66MiB |
| Workload | JSON Comp | 4,096 | 107,463 | 2.56ms | 28.60ms | 4391.3% | 60MiB |
| Workload | JSON Comp | 16,384 | 100,837 | 2.74ms | 32.30ms | 2706.1% | 90MiB |
| Workload | Upload | 32 | 1,403 | 22.77ms | 78.20ms | 2948.3% | 1.5GiB |
| Workload | Upload | 256 | 1,487 | 166.16ms | 937.40ms | 4974.6% | 4.9GiB |
How the benchmark is run · The machine · Add or fix an entry