HttpArena
Frameworks

Rust web framework benchmarks: performance comparison

The fastest Rust web framework in HttpArena is cpeak, with a composite of 7302 on HTTP/1.1 — 1 of 97 against every language in its league. Measured over Alpha Round, every entry on the same machine. This is a tuned entry.

Compare any two Rust entries profile by profile →

Every Rust entry in the benchmark, compared on the composite score of each family. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 100, and scales the sum by the entry's completeness factor. Rank overall is the entry's place in its own league across all languages; rank among Rust narrows the same field to this language. Both link through to the board view they were taken in. How the score works.

Composite scores compare directly across every row. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.

HTTP/1.1

FrameworkTypeCompositeRank overallRank among Rust
cpeakEmerging tuned73021 of 971 of 10
takoEmerging69931 of 761 of 8
actixFlagship66414 of 762 of 8
ntexFlagship57688 of 763 of 8
tokioEngine468110 of 391 of 3
mq-bridgeEmerging446313 of 764 of 8
axumFlagship442214 of 765 of 8
tokio-uringEngine341818 of 392 of 3
hyperEngine329819 of 393 of 3
trilliumEmerging316330 of 766 of 8
trillium-tunedEmerging tuned307644 of 978 of 10
rocketFlagship301733 of 767 of 8
salvoFlagship242337 of 768 of 8
toxiExperimental18486 of 7—

HTTP/2

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging18214 of 231 of 5
actixFlagship16345 of 232 of 5
trillium-tunedEmerging tuned103611 of 313 of 6
trilliumEmerging75011 of 233 of 5
hyperEngine6647 of 14—
takoEmerging63013 of 234 of 5
mq-bridgeEmerging51718 of 235 of 5

HTTP/3

FrameworkTypeCompositeRank overallRank among Rust
trillium-tunedEmerging tuned9084 of 161 of 3
trilliumEmerging8813 of 131 of 2
takoEmerging5338 of 132 of 2

Gateway

FrameworkTypeCompositeRank overallRank among Rust
takoEmerging14225 of 71 of 2
sarkEngine12372 of 2—
trilliumEmerging12156 of 72 of 2
trillium-tunedEmerging tuned11917 of 83 of 3

gRPC

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging20001 of 61 of 3
trillium-tunedEmerging tuned3898 of 102 of 4
trilliumEmerging3775 of 62 of 3
takoEmerging2986 of 63 of 3

WebSocket

FrameworkTypeCompositeRank overallRank among Rust
wtxEmerging24482 of 231 of 5
tokio-websocketsEngine22564 of 181 of 3
tokio-wsEngine19866 of 182 of 3
actixFlagship17766 of 232 of 5
tokio-uring-wsEngine16819 of 183 of 3
takoEmerging89413 of 233 of 5
trillium-tunedEmerging tuned80518 of 314 of 6
mq-bridgeEmerging42719 of 234 of 5
trilliumEmerging39120 of 235 of 5

Questions

What is the fastest Rust web framework?

cpeak leads the Rust entries in HttpArena with a composite score of 7302 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 100. Against every language, cpeak ranks 1 of 97 in its own league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.

What is the fastest Rust HTTP/2 server?

wtx, with a composite of 1821 on HTTP/2 and 4 of 23 against all languages in its league.

What is the fastest Rust HTTP/3 server?

trillium-tuned, with a composite of 908 on HTTP/3 and 4 of 16 against all languages in its league.

What is the fastest Rust Gateway server?

tako, with a composite of 1422 on Gateway and 5 of 7 against all languages in its league.

What is the fastest Rust gRPC server?

wtx, with a composite of 2000 on gRPC and 1 of 6 against all languages in its league.

What is the fastest Rust WebSocket server?

wtx, with a composite of 2448 on WebSocket and 2 of 23 against all languages in its league.

How many Rust web frameworks are benchmarked?

19 Rust entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, Gateway, gRPC, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.

Is Rust fast for web servers?

The quickest Rust entry, cpeak, places 1 of 97 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Rust at its best rather than for Rust in general. The tables below show the spread across all 19 entries.

Every Rust entry

Other languages

C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Go · Haskell · Java · JS · Julia · Koru · Kotlin · Lua · Luau · Perl · PHP · Python · Ruby · Scala · Swift · TS · V · Zig

Results updated · Alpha Round · Compare two Rust entries · All languages · Open the leaderboard