HttpArena

TS web framework benchmarks: performance comparison

The fastest TS web framework in HttpArena is barejs, with a composite of 4819 on HTTP/1.1 — 8 of 88 against every language in its league. Measured over Alpha Round, every entry on the same machine. The leading TS HTTP engine is deno, 29 of 46 in its own league. The leading experimental TS framework is swerverts, 31 of 32 in its own league.

Compare any two TS entries profile by profile →

Every TS 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 TS 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.

Composite scores compare directly across every row of a table. 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.

HTTP/1.1

Frameworks

FrameworkTypeCompositeRank in its leagueRank among TS
barejsEmerging48198 of 881 of 6
bunFlagship383413 of 882 of 6
elysiaFlagship266828 of 883 of 6
hono-bunFlagship229632 of 884 of 6
nifraEmerging190344 of 885 of 6
hono-nodeFlagship117265 of 886 of 6

Engines

EngineTypeCompositeRank in its leagueRank among TS
denoEngine153429 of 46—

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among TS
swervertsExperimental71831 of 32—

HTTP/2

Frameworks

FrameworkTypeCompositeRank in its leagueRank among TS
barejsEmerging24985 of 341 of 2
bunFlagship23546 of 342 of 2

HTTP/3

Frameworks

FrameworkTypeCompositeRank in its leagueRank among TS
barejsEmerging11331 of 171 of 2
bunFlagship10983 of 172 of 2

WebSocket

Frameworks

FrameworkTypeCompositeRank in its leagueRank among TS
barejsEmerging25524 of 311 of 2
bun-websocketEmerging tuned152417 of 412 of 2

Database

Frameworks

FrameworkTypeCompositeRank in its leagueRank among TS
barejsEmerging9124 of 81 of 2
nifraEmerging5505 of 82 of 2

Questions

What is the fastest TS web framework?

barejs leads the TS web frameworks in HttpArena with a composite score of 4819 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, barejs ranks 8 of 88 in its league.

What is the fastest TS HTTP engine?

deno leads the TS HTTP engines in HttpArena with a composite score of 1534 on HTTP/1.1, measured over Alpha Round. Against every language, deno ranks 29 of 46 in its league.

What is the fastest experimental TS framework?

swerverts leads the experimental TS frameworks in HttpArena with a composite score of 718 on HTTP/1.1, measured over Alpha Round. Against every language, swerverts ranks 31 of 32 in its league.

Why are TS entries ranked in separate leagues?

HttpArena ranks web frameworks, HTTP engines, and experimental frameworks 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 TS head-to-head comparison, which lines up every test both of them ran.

What is the fastest TS HTTP/2 server?

barejs, with a composite of 2498 on HTTP/2 and 5 of 34 against all languages in its league.

What is the fastest TS HTTP/3 server?

barejs, with a composite of 1133 on HTTP/3 and 1 of 17 against all languages in its league.

What is the fastest TS WebSocket server?

barejs, with a composite of 2552 on WebSocket and 4 of 31 against all languages in its league.

What is the fastest TS database-backed server?

barejs, with a composite of 912 on Database and 4 of 8 against all languages in its league.

How many TS web frameworks are benchmarked?

9 TS 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 TS fast for web servers?

The leading TS web framework, barejs, places 8 of 88 on HTTP/1.1 across every language in its league, so that placing is the honest answer for TS at its best rather than for TS in general. The tables below show the spread across all 9 entries.

Every TS entry

Other languages

Assembly · C · C# · C++ · Clojure · 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 · V · Valk · Zig

Results updated · Alpha Round · Compare two TS entries · All languages · Open the leaderboard