HttpArena

Clojure web framework benchmarks: performance comparison

The fastest Clojure web framework in HttpArena is ring-http-exchange, with a composite of 2410 on HTTP/1.1 — 30 of 88 against every language in its league. Measured over Alpha Round, every entry on the same machine. The leading Clojure HTTP engine is Enso, 23 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

FrameworkTypeCompositeRank in its leagueRank among Clojure
ring-http-exchangeEmerging241030 of 881 of 2
reititFlagship128360 of 882 of 2

Engines

EngineTypeCompositeRank in its leagueRank among Clojure
EnsoEngine276623 of 461 of 9
ring-jetty9-adapterEngine126431 of 462 of 9
buskerEngine124832 of 463 of 9
ring-jetty-adapterEngine122633 of 464 of 9
alephEngine108536 of 465 of 9
hirundoEngine95340 of 466 of 9
pedestalEngine86442 of 467 of 9
http-kitEngine46244 of 468 of 9
capraEngine35446 of 469 of 9

HTTP/2

Engines

EngineTypeCompositeRank in its leagueRank among Clojure
EnsoEngine9448 of 181 of 6
hirundoEngine27013 of 182 of 6
buskerEngine14115 of 183 of 6
pedestalEngine6216 of 184 of 6
ring-jetty9-adapterEngine5117 of 185 of 6
alephEngine3818 of 186 of 6

HTTP/3

Engines

EngineTypeCompositeRank in its leagueRank among Clojure
EnsoEngine4986 of 81 of 2
buskerEngine2247 of 82 of 2

WebSocket

Engines

EngineTypeCompositeRank in its leagueRank among Clojure
EnsoEngine136811 of 201 of 8
hirundoEngine103213 of 202 of 8
pedestalEngine46115 of 203 of 8
ring-jetty9-adapterEngine42816 of 204 of 8
ring-jetty-adapterEngine42017 of 205 of 8
alephEngine15318 of 206 of 8
http-kitEngine14119 of 207 of 8
capraEngine8020 of 208 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 2410 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 30 of 88 in its league.

What is the fastest Clojure HTTP engine?

Enso leads the Clojure HTTP engines in HttpArena with a composite score of 2766 on HTTP/1.1, measured over Alpha Round. Against every language, Enso ranks 23 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 8 of 18 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 30 of 88 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

Other languages

Assembly · 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