salvo
Flagship · Rust · standard configuration · completeness 4/4
Salvo 0.96 on tokio and hyper, default configuration. Routing through the Router tree, JSON through salvo's Json responder, gzip and brotli through the built-in Compression hoop at level 1, json-tls on 8081 through rustls.
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 | 52 of 69 | 597 |
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 | 512 | 276,305 | 1.73ms | 4.67ms | 1879.3% | 55MiB |
| Connection | Baseline | 4,096 | 282,378 | 4.98ms | 23.90ms | 1752.3% | 118MiB |
| Connection | Short-lived | 512 | 264,846 | 1.23ms | 4.19ms | 1960.4% | 63MiB |
| Connection | Short-lived | 4,096 | 250,435 | 5.08ms | 21.00ms | 1944.0% | 114MiB |
| Efficiency | Latency-1M | 1,024 | 271,114 | 6652197.3us | 13799424.0us | 1455.7% | 68MiB |
| Workload | JSON Comp | 512 | 65,582 | 7.29ms | 18.30ms | 6255.8% | 79MiB |
| Workload | JSON Comp | 4,096 | 117,978 | 11.35ms | 54.20ms | 6119.5% | 137MiB |
| Workload | JSON Comp | 16,384 | 123,869 | 20.93ms | 117.80ms | 6065.6% | 206MiB |
| Workload | JSON TLS | 4,096 | 260,856 | 10.35ms | 85.93ms | 2958.0% | 245MiB |
| Workload | Upload | 32 | 1,401 | 22.78ms | 78.90ms | 2803.4% | 1.5GiB |
| Workload | Upload | 256 | 1,503 | 164.26ms | 960.80ms | 5382.3% | 5.0GiB |
Compared with
The Rust entries around salvo on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs salvo | |
|---|---|---|---|
| ntex | 3716 | +523% | head to head |
| trillium | 1193 | +100% | head to head |
| rocket | 945 | +58% | head to head |
Compare salvo with any Rust entry · Compare salvo with any entry, in any language · Every Rust entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry