Rust web framework benchmarks: performance comparison
The fastest Rust web framework in HttpArena is actix, with a composite of 6880 on HTTP/1.1 — 1 of 71 against every language in its league. Measured over Alpha Round, every entry on the same machine.
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.
sark has no published rank in any family yet, so it is listed below the tables only.
HTTP/1.1
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| actix | Flagship | 6880 | 1 of 71 | 1 of 7 |
| ntex | Flagship | 5956 | 4 of 71 | 2 of 7 |
| tokio | Engine | 4738 | 6 of 26 | 1 of 3 |
| mq-bridge | Emerging | 4610 | 7 of 71 | 3 of 7 |
| axum | Flagship | 4494 | 8 of 71 | 4 of 7 |
| tokio-uring | Engine | 3462 | 13 of 26 | 2 of 3 |
| hyper | Engine | 3345 | 15 of 26 | 3 of 3 |
| trillium | Emerging | 3261 | 20 of 71 | 5 of 7 |
| trillium-tuned | Emerging tuned | 3197 | 36 of 93 | 6 of 8 |
| rocket | Flagship | 3112 | 24 of 71 | 6 of 7 |
| salvo | Flagship | 2480 | 29 of 71 | 7 of 7 |
HTTP/2
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| wtx | Emerging | 1799 | 2 of 18 | 1 of 4 |
| actix | Flagship | 1608 | 3 of 18 | 2 of 4 |
| trillium-tuned | Emerging tuned | 1023 | 10 of 28 | 3 of 5 |
| trillium | Emerging | 734 | 9 of 18 | 3 of 4 |
| hyper | Engine | 664 | 6 of 7 | — |
| mq-bridge | Emerging | 514 | 11 of 18 | 4 of 4 |
HTTP/3
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| trillium-tuned | Emerging tuned | 934 | 4 of 11 | 1 of 2 |
| trillium | Emerging | 855 | 3 of 7 | 2 of 2 |
Gateway
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| trillium | Emerging | 1238 | 3 of 4 | 1 of 2 |
| trillium-tuned | Emerging tuned | 1233 | 4 of 5 | 2 of 2 |
gRPC
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| wtx | Emerging | 2000 | 1 of 4 | 1 of 2 |
| trillium-tuned | Emerging tuned | 407 | 7 of 8 | 2 of 3 |
| trillium | Emerging | 377 | 4 of 4 | 2 of 2 |
WebSocket
| Framework | Type | Composite | Rank overall | Rank among Rust |
|---|---|---|---|---|
| wtx | Emerging | 2448 | 2 of 15 | 1 of 4 |
| tokio-websockets | Engine | 2256 | 2 of 9 | 1 of 3 |
| tokio-ws | Engine | 1986 | 4 of 9 | 2 of 3 |
| actix | Flagship | 1776 | 3 of 15 | 2 of 4 |
| tokio-uring-ws | Engine | 1681 | 7 of 9 | 3 of 3 |
| trillium-tuned | Emerging tuned | 791 | 13 of 25 | 3 of 5 |
| mq-bridge | Emerging | 427 | 11 of 15 | 3 of 4 |
| trillium | Emerging | 397 | 12 of 15 | 4 of 4 |
Questions
What is the fastest Rust web framework?
actix leads the Rust entries in HttpArena with a composite score of 6880 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, actix ranks 1 of 71 in its own league.
What is the fastest Rust HTTP/2 server?
wtx, with a composite of 1799 on HTTP/2 and 2 of 18 against all languages in its league.
What is the fastest Rust HTTP/3 server?
trillium-tuned, with a composite of 934 on HTTP/3 and 4 of 11 against all languages in its league.
What is the fastest Rust Gateway server?
trillium, with a composite of 1238 on Gateway and 3 of 4 against all languages in its league.
What is the fastest Rust gRPC server?
wtx, with a composite of 2000 on gRPC and 1 of 4 against all languages in its league.
What is the fastest Rust WebSocket server?
wtx, with a composite of 2448 on WebSocket and 2 of 15 against all languages in its league.
How many Rust web frameworks are benchmarked?
16 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, actix, places 1 of 71 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 16 entries.
Every Rust entry
- actix
- axum
- hyper
- mq-bridge
- ntex
- rocket
- salvo
- sark
- tokio
- tokio-uring
- tokio-uring-ws
- tokio-websockets
- tokio-ws
- trillium
- trillium-tuned
- wtx
Other languages
C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Go · Haskell · Java · JS · Julia · Kotlin · Lua · Luau · Perl · PHP · Python · Ruby · Scala · Swift · TS · Zig
Results updated · Alpha Round · Compare two Rust entries · All languages · Open the leaderboard