HttpArena

Clojure web framework benchmarks: performance comparison

The fastest Clojure web framework in HttpArena is ring-http-exchange, with a composite of 2442 on HTTP/1.1 — 31 of 87 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-exchangeEmerging244231 of 871 of 2
reititFlagship128259 of 872 of 2

Engines

EngineTypeCompositeRank in its leagueRank among Clojure
EnsoEngine275723 of 461 of 9
ring-jetty9-adapterEngine125631 of 462 of 9
buskerEngine124032 of 463 of 9
ring-jetty-adapterEngine121833 of 464 of 9
alephEngine107737 of 465 of 9
hirundoEngine94640 of 466 of 9
pedestalEngine85842 of 467 of 9
http-kitEngine46244 of 468 of 9
capraEngine35446 of 469 of 9

HTTP/2

Engines

EngineTypeCompositeRank in its leagueRank among Clojure
EnsoEngine9439 of 191 of 6
hirundoEngine27014 of 192 of 6
buskerEngine14116 of 193 of 6
pedestalEngine6217 of 194 of 6
ring-jetty9-adapterEngine5118 of 195 of 6
alephEngine3819 of 196 of 6

HTTP/3

Engines

EngineTypeCompositeRank in its leagueRank among Clojure
EnsoEngine4986 of 81 of 2
buskerEngine2248 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

Database

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Clojure
ring-http-exchangeEmerging47612 of 17—

Questions

What is the fastest Clojure web framework?

ring-http-exchange leads the Clojure web frameworks in HttpArena with a composite score of 2442 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 31 of 87 in its league.

What is the fastest Clojure HTTP engine?

Enso leads the Clojure HTTP engines in HttpArena with a composite score of 2757 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 943 on HTTP/2 and 9 of 19 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.

What is the fastest Clojure database-backed server?

ring-http-exchange, with a composite of 476 on Database and 12 of 17 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, Database. 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 31 of 87 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