Mojo web framework benchmarks: performance comparison
The fastest Mojo web framework in HttpArena is flare, with a composite of 3739 on HTTP/1.1 — 15 of 87 against every language in its league. Measured over Alpha Round, every entry on the same machine. The leading experimental Mojo framework is mojo-http, 6 of 33 in its own league.
Compare any two Mojo entries profile by profile →
Every Mojo entry in the benchmark, compared on the composite score of each family, one table per league. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 1,000, and scales the sum by the entry's completeness factor. Frameworks, engines, experimental entries and infrastructure are separate leagues: each is normalized against its own leader, and they do not all count the same profiles, so a composite compares with the others in its table and with nothing outside it. Rank in its league is the entry's place across all languages; rank among Mojo narrows the same field to this language. Both link through to the board view they were taken in. How the score works.
To set two entries from different leagues against each other, compare them head to head: that table lines up every test both of them ran.
HTTP/1.1
Frameworks
Experimental frameworks
HTTP/2
Frameworks
Experimental frameworks
HTTP/3
Frameworks
Experimental frameworks
Gateway
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Mojo |
|---|---|---|---|---|
| mojo-http + nginx | Experimental | 2885 | 2 of 4 | 1 of 2 |
| mojo-http + Caddy | Experimental | 646 | 4 of 4 | 2 of 2 |
gRPC
Frameworks
Experimental frameworks
WebSocket
Frameworks
Experimental frameworks
Database
Experimental frameworks
Questions
What is the fastest Mojo web framework?
flare leads the Mojo web frameworks in HttpArena with a composite score of 3739 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 1,000. Against every language, flare ranks 15 of 87 in its league.
What is the fastest experimental Mojo framework?
mojo-http leads the experimental Mojo frameworks in HttpArena with a composite score of 5840 on HTTP/1.1, measured over Alpha Round. Against every language, mojo-http ranks 6 of 33 in its league.
Why are Mojo entries ranked in separate leagues?
HttpArena ranks web frameworks and experimental frameworks apart. Each league is normalized against its own leader, and the leagues do not all count the same profiles. A composite from one league is therefore not on the same scale as a composite from another, and the higher number across two leagues is not the faster server. To set two entries from different leagues against each other, use the Mojo head-to-head comparison, which lines up every test both of them ran.
What is the fastest Mojo HTTP/2 server?
Among web frameworks, flare (composite 2136, 7 of 33 in that league); among experimental frameworks, mojo-http (composite 3360, 3 of 19 in that league). The leagues are scored separately, so those composites are not on one scale.
What is the fastest Mojo HTTP/3 server?
Among web frameworks, flare (composite 1114, 2 of 16 in that league); among experimental frameworks, mojo-http (composite 1723, 3 of 12 in that league). The leagues are scored separately, so those composites are not on one scale.
What is the fastest Mojo Gateway server?
mojo-http + nginx, with a composite of 2885 on Gateway and 2 of 4 against all languages in its league.
What is the fastest Mojo gRPC server?
Among web frameworks, flare (composite 1286, 3 of 10 in that league); among experimental frameworks, mojo-http (composite 2000, 1 of 9 in that league). The leagues are scored separately, so those composites are not on one scale.
What is the fastest Mojo WebSocket server?
Among web frameworks, flare (composite 2229, 7 of 31 in that league); among experimental frameworks, mojo-http (composite 2831, 6 of 24 in that league). The leagues are scored separately, so those composites are not on one scale.
What is the fastest Mojo database-backed server?
mojo-http, with a composite of 2000 on Database and 1 of 8 against all languages in its league.
How many Mojo web frameworks are benchmarked?
4 Mojo entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, Gateway, gRPC, WebSocket, Database. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.
Is Mojo fast for web servers?
The leading Mojo web framework, flare, places 15 of 87 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Mojo at its best rather than for Mojo in general. The tables below show the spread across all 4 entries.
Every Mojo entry
Other languages
Assembly · C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Go · Goose · Haskell · Java · JS · Julia · Koru · Kotlin · Lua · Luau · OCaml · Perl · PHP · Python · Ruby · Rust · Scala · Sober · Swift · TS · V · Valk · Zig
Results updated · Alpha Round · Compare two Mojo entries · All languages · Open the leaderboard