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.

Achievements

🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥉 BronzeTest profileEfficiency · Latency-10K3 of 72

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.110 of 724508

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,080,6383.80ms6.68ms3483.1%192MiB
ConnectionPipelined4,0966,474,60810.09ms32.40ms6330.5%222MiB
ConnectionShort-lived4,096685,0385.97ms26.40ms5255.9%287MiB
ConcurrencyAsync Delay32,000248,322127.14ms177.40ms1680.6%1.4GiB
EfficiencyLatency-10K1,0249,98371.0us102.0us22.7%82MiB
EfficiencyLatency-1M1,024997,935780.6us2925.0us2715.5%96MiB
EfficiencyLatency-500K/81,024350,1272983587.6us5900288.0us783.9%51MiB
WorkloadJSON Comp4,096268,14215.26ms47.70ms6179.1%299MiB
WorkloadJSON Comp16,384235,31768.71ms173.50ms5878.4%894MiB
WorkloadJSON TLS4,096967,8313.91ms59.44ms6144.1%199MiB
Workload8Gbit51249,058102.7us146.0us265.8%89MiB

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
actix6799+51%head to head
tokio4738+5%head to head
mq-bridge4563+1%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