HttpArena
Comparisons

Rust web framework comparison: any two, head to head

ntex is quicker than actix on 5 of the 10 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 6879 and 5954.

Pick any two of the 16 Rust entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. What each profile measures.

ProfileConnsactix req/secntex req/secDeltaactix p99ntex p99
Baseline4,0962,775,1202,168,712+28%2.56ms2.35ms
Short-lived4,0961,135,1571,449,176-22%9.25ms29.00ms
Async Delay32,0002,112,168963,884+119%17.40ms35.80ms
Latency-10K1,0249,9829,982+0%114.0us119.0us
Latency-1M1,024997,622998,354-0%177.0us266.0us
Latency-500K/81,024421,612337,940+25%3077120.0us6383616.0us
JSON Comp4,096541,211589,934-8%37.60ms50.90ms
JSON Comp16,384532,649569,327-6%41.30ms75.10ms
JSON TLS4,0961,157,2191,254,763-8%64.52ms65.93ms
8Gbit51249,40149,058+1%114.0us138.0us

Common comparisons

actix vs ntex · actix vs axum · actix vs rocket · ntex vs axum · ntex vs rocket · axum vs rocket

Questions

Is actix faster than ntex?

ntex is quicker than actix on 5 of the 10 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 6879 and 5954. Both run on the same machine, in the same round, against the same profiles.

Is actix faster than axum?

actix is quicker than axum on 10 of the 11 profiles they both run. On the HTTP/1.1 composite they score 6879 and 4494. Both run on the same machine, in the same round, against the same profiles.

Is actix faster than rocket?

actix is quicker than rocket on 11 of the 11 profiles they both run. On the HTTP/1.1 composite they score 6879 and 3111. Both run on the same machine, in the same round, against the same profiles.

Is ntex faster than axum?

ntex is quicker than axum on 8 of the 10 profiles they both run. On the HTTP/1.1 composite they score 5954 and 4494. Both run on the same machine, in the same round, against the same profiles.

Which Rust framework is fastest overall?

actix holds the highest HTTP/1.1 composite of the Rust entries, at 6879. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every Rust entry

Results updated · Rust composite ranking · Compare across languages · Other languages · Open the leaderboard