Clojure web framework benchmarks: performance comparison
The fastest Clojure web framework in HttpArena is ring-http-exchange, with a composite of 3273 on HTTP/1.1 — 28 of 85 against every language in its league. Measured over Alpha Round, every entry on the same machine. The leading Clojure HTTP engine is Enso, 24 of 46 in its own league.
Compare any two Clojure entries profile by profile →
Every Clojure 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 Clojure 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
| Framework | Type | Composite | Rank in its league | Rank among Clojure |
|---|---|---|---|---|
| ring-http-exchange | Emerging | 3273 | 28 of 85 | 1 of 2 |
| reitit | Flagship | 1706 | 59 of 85 | 2 of 2 |
Engines
| Engine | Type | Composite | Rank in its league | Rank among Clojure |
|---|---|---|---|---|
| Enso | Engine | 3346 | 24 of 46 | 1 of 9 |
| ring-jetty9-adapter | Engine | 1638 | 31 of 46 | 2 of 9 |
| ring-jetty-adapter | Engine | 1585 | 32 of 46 | 3 of 9 |
| aleph | Engine | 1378 | 35 of 46 | 4 of 9 |
| hirundo | Engine | 1240 | 37 of 46 | 5 of 9 |
| pedestal | Engine | 1128 | 39 of 46 | 6 of 9 |
| http-kit | Engine | 808 | 43 of 46 | 7 of 9 |
| capra | Engine | 643 | 44 of 46 | 8 of 9 |
| busker | Engine | 20 | 46 of 46 | 9 of 9 |
HTTP/2
Engines
| Engine | Type | Composite | Rank in its league | Rank among Clojure |
|---|---|---|---|---|
| Enso | Engine | 944 | 7 of 17 | 1 of 6 |
| hirundo | Engine | 270 | 12 of 17 | 2 of 6 |
| pedestal | Engine | 61 | 14 of 17 | 3 of 6 |
| ring-jetty9-adapter | Engine | 61 | 15 of 17 | 4 of 6 |
| aleph | Engine | 37 | 16 of 17 | 5 of 6 |
| busker | Engine | 1 | 17 of 17 | 6 of 6 |
HTTP/3
Engines
| Engine | Type | Composite | Rank in its league | Rank among Clojure |
|---|---|---|---|---|
| Enso | Engine | 498 | 6 of 8 | 1 of 2 |
| busker | Engine | 0 | 8 of 8 | 2 of 2 |
WebSocket
Engines
| Engine | Type | Composite | Rank in its league | Rank among Clojure |
|---|---|---|---|---|
| Enso | Engine | 1368 | 11 of 20 | 1 of 8 |
| hirundo | Engine | 1032 | 13 of 20 | 2 of 8 |
| pedestal | Engine | 462 | 15 of 20 | 3 of 8 |
| ring-jetty9-adapter | Engine | 421 | 16 of 20 | 4 of 8 |
| ring-jetty-adapter | Engine | 414 | 17 of 20 | 5 of 8 |
| aleph | Engine | 145 | 18 of 20 | 6 of 8 |
| http-kit | Engine | 136 | 19 of 20 | 7 of 8 |
| capra | Engine | 74 | 20 of 20 | 8 of 8 |
Questions
What is the fastest Clojure web framework?
ring-http-exchange leads the Clojure web frameworks in HttpArena with a composite score of 3273 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, ring-http-exchange ranks 28 of 85 in its league.
What is the fastest Clojure HTTP engine?
Enso leads the Clojure HTTP engines in HttpArena with a composite score of 3346 on HTTP/1.1, measured over Alpha Round. Against every language, Enso ranks 24 of 46 in its league.
Why are Clojure entries ranked in separate leagues?
HttpArena ranks web frameworks and HTTP engines apart. Each league is normalized against its own leader, and the leagues do not all count the same profiles - engines are not scored on JSON Compressed, for one. 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 Clojure head-to-head comparison, which lines up every test both of them ran.
What is the fastest Clojure HTTP/2 server?
Enso, with a composite of 944 on HTTP/2 and 7 of 17 against all languages in its league.
What is the fastest Clojure HTTP/3 server?
Enso, with a composite of 498 on HTTP/3 and 6 of 8 against all languages in its league.
What is the fastest Clojure WebSocket server?
Enso, with a composite of 1368 on WebSocket and 11 of 20 against all languages in its league.
How many Clojure web frameworks are benchmarked?
11 Clojure entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.
Is Clojure fast for web servers?
The leading Clojure web framework, ring-http-exchange, places 28 of 85 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Clojure at its best rather than for Clojure in general. The tables below show the spread across all 11 entries.
Every Clojure entry
- aleph
- busker
- capra
- Enso
- hirundo
- http-kit
- pedestal
- reitit
- ring-http-exchange
- ring-jetty-adapter
- ring-jetty9-adapter
Other languages
C · C# · C++ · D · Dart · Elixir · Erlang · F# · Go · Goose · Haskell · Java · JS · Julia · Koru · Kotlin · Lua · Luau · Mojo · OCaml · Perl · PHP · Python · Ruby · Rust · Scala · Sober · Swift · TS · V · Valk · Zig
Results updated · Alpha Round · Compare two Clojure entries · All languages · Open the leaderboard