axum
Flagship · Rust · engine: hyper · standard configuration · completeness 4/4
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, 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 | 8 of 71 | 4494 |
Every result
Alpha Round, 11 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 | 1,070,912 | 3.83ms | 6.62ms | 3745.7% | 189MiB |
| Connection | Pipelined | 4,096 | 6,522,484 | 10.04ms | 30.80ms | 6581.8% | 205MiB |
| Connection | Short-lived | 4,096 | 690,603 | 5.92ms | 25.50ms | 5002.5% | 291MiB |
| Concurrency | Async Delay | 32,000 | 269,164 | 117.45ms | 160.90ms | 1747.2% | 1.3GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 79.3us | 110.0us | 23.6% | 105MiB |
| Efficiency | Latency-1M | 1,024 | 997,522 | 819.9us | 3197.0us | 2901.5% | 95MiB |
| Efficiency | Latency-500K/8 | 1,024 | 331,380 | 3357504.4us | 6637568.0us | 718.0% | 56MiB |
| Workload | JSON Comp | 4,096 | 266,626 | 15.34ms | 48.10ms | 6154.0% | 301MiB |
| Workload | JSON Comp | 16,384 | 235,609 | 68.42ms | 163.70ms | 5879.3% | 894MiB |
| Workload | JSON TLS | 4,096 | 971,202 | 4.67ms | 63.79ms | 6335.8% | 225MiB |
| Workload | 8Gbit | 512 | 49,058 | 98.6us | 147.0us | 239.4% | 87MiB |
Compared with
The Rust entries around axum on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs axum | |
|---|---|---|---|
| actix | 6880 | +53% | head to head |
| tokio | 4738 | +5% | head to head |
| mq-bridge | 4610 | +3% | head to head |
| tokio-uring | 3462 | -23% | head to head |
| hyper | 3345 | -26% | head to head |
Compare axum with any Rust entry · Compare axum with any entry, in any language · Every Rust entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry