HttpArena
Frameworks

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.

FamilyRankComposite
HTTP/1.18 of 714494

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,0961,070,9123.83ms6.62ms3745.7%189MiB
ConnectionPipelined4,0966,522,48410.04ms30.80ms6581.8%205MiB
ConnectionShort-lived4,096690,6035.92ms25.50ms5002.5%291MiB
ConcurrencyAsync Delay32,000269,164117.45ms160.90ms1747.2%1.3GiB
EfficiencyLatency-10K1,0249,98279.3us110.0us23.6%105MiB
EfficiencyLatency-1M1,024997,522819.9us3197.0us2901.5%95MiB
EfficiencyLatency-500K/81,024331,3803357504.4us6637568.0us718.0%56MiB
WorkloadJSON Comp4,096266,62615.34ms48.10ms6154.0%301MiB
WorkloadJSON Comp16,384235,60968.42ms163.70ms5879.3%894MiB
WorkloadJSON TLS4,096971,2024.67ms63.79ms6335.8%225MiB
Workload8Gbit51249,05898.6us147.0us239.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.

EntryCompositevs axum
actix6880+53%head to head
tokio4738+5%head to head
mq-bridge4610+3%head to head
tokio-uring3462-23%head to head
hyper3345-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