rocket
Flagship · Rust · engine: hyper · standard configuration · completeness 4/4
Rocket 0.5 on hyper with the multi-threaded Tokio runtime, default configuration. Routing, path and query guards through the Rocket API, serde_json via the Json responder.
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 | 24 of 71 | 3112 |
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 | 668,747 | 1.84ms | 5.04ms | 6200.4% | 135MiB |
| Connection | Pipelined | 4,096 | 1,266,201 | 13.23ms | 49.80ms | 6539.9% | 103MiB |
| Connection | Short-lived | 4,096 | 493,183 | 862us | 2.26ms | 3165.2% | 76MiB |
| Concurrency | Async Delay | 32,000 | 393,572 | 21.11ms | 38.40ms | 2758.0% | 682MiB |
| Efficiency | Latency-10K | 1,024 | 9,925 | 76.1us | 125.0us | 30.9% | 93MiB |
| Efficiency | Latency-1M | 1,024 | 696,346 | 2458088.5us | 5199872.0us | 6090.5% | 74MiB |
| Efficiency | Latency-500K/8 | 1,024 | 212,617 | 5193670.6us | 10833920.0us | 774.9% | 45MiB |
| Workload | JSON Comp | 4,096 | 387,157 | 5.22ms | 16.60ms | 6137.8% | 148MiB |
| Workload | JSON Comp | 16,384 | 387,669 | 11.71ms | 37.90ms | 6295.4% | 219MiB |
| Workload | JSON TLS | 4,096 | 533,045 | 6.30ms | 60.36ms | 6037.9% | 304MiB |
| Workload | 8Gbit | 512 | 48,705 | 147.8us | 250.0us | 489.0% | 142MiB |
Compared with
The Rust entries around rocket on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs rocket | |
|---|---|---|---|
| actix | 6880 | +121% | head to head |
| trillium | 3261 | +5% | head to head |
| trillium-tuned | 3197 | +3% | head to head |
| salvo | 2480 | -20% | head to head |
Compare rocket with any Rust entry · Compare rocket with any entry, in any language · Every Rust entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry