HttpArena
Comparisons

Rust web framework comparison: any two, head to head

actix is quicker than rocket on 9 of the 9 profiles they both run. On the HTTP/1.1 composite they score 710 and 171.

Pick any two of the 15 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/secrocket req/secDeltaactix p99rocket p99
Baseline5122,713,517680,970+298%284us1.53ms
Baseline4,0962,775,120668,747+315%2.56ms5.04ms
Pipelined51216,342,0801,392,601+1073%546us16.60ms
Pipelined4,09616,338,4251,266,201+1190%5.31ms49.80ms
Short-lived5121,121,546473,133+137%4.06ms2.05ms
Short-lived4,0961,135,157493,183+130%9.25ms2.26ms
JSON4,0961,216,437553,071+120%13.10ms6.75ms
Upload323,1002,234+39%33.10ms55.30ms
Upload2563,0622,884+6%289.60ms314.50ms

Common comparisons

actix vs rocket · actix vs axum · actix vs trillium-tuned · rocket vs axum · rocket vs trillium-tuned · axum vs trillium-tuned

Questions

Is actix faster than rocket?

actix is quicker than rocket on 9 of the 9 profiles they both run. On the HTTP/1.1 composite they score 710 and 171. 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 11 of the 12 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 710 and 122. Both run on the same machine, in the same round, against the same profiles.

Is actix faster than trillium-tuned?

actix is quicker than trillium-tuned on 23 of the 31 profiles they both run, and behind on 8. On the HTTP/1.1 composite they score 710 and 700. Both run on the same machine, in the same round, against the same profiles.

Is rocket faster than axum?

rocket is quicker than axum on 6 of the 9 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 171 and 122. 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 710. 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 · Other languages · Open the leaderboard