HttpArena
Frameworks

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.

FamilyRankComposite
HTTP/1.124 of 713112

Every result

Alpha Round, 11 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,096668,7471.84ms5.04ms6200.4%135MiB
ConnectionPipelined4,0961,266,20113.23ms49.80ms6539.9%103MiB
ConnectionShort-lived4,096493,183862us2.26ms3165.2%76MiB
ConcurrencyAsync Delay32,000393,57221.11ms38.40ms2758.0%682MiB
EfficiencyLatency-10K1,0249,92576.1us125.0us30.9%93MiB
EfficiencyLatency-1M1,024696,3462458088.5us5199872.0us6090.5%74MiB
EfficiencyLatency-500K/81,024212,6175193670.6us10833920.0us774.9%45MiB
WorkloadJSON Comp4,096387,1575.22ms16.60ms6137.8%148MiB
WorkloadJSON Comp16,384387,66911.71ms37.90ms6295.4%219MiB
WorkloadJSON TLS4,096533,0456.30ms60.36ms6037.9%304MiB
Workload8Gbit51248,705147.8us250.0us489.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.

EntryCompositevs rocket
actix6880+121%head to head
trillium3261+5%head to head
trillium-tuned3197+3%head to head
salvo2480-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