TS web framework benchmarks: performance comparison
The fastest TS web framework in HttpArena is bun, with a composite of 5373 on HTTP/1.1 — 10 of 85 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, 29 of 30 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
| Framework | Type | Composite | Rank in its league | Rank among TS |
|---|---|---|---|---|
| bun | Flagship | 5373 | 10 of 85 | 1 of 5 |
| elysia | Flagship | 3755 | 26 of 85 | 2 of 5 |
| hono-bun | Flagship | 2976 | 36 of 85 | 3 of 5 |
| nifra | Emerging | 2632 | 42 of 85 | 4 of 5 |
| hono-node | Flagship | 1665 | 63 of 85 | 5 of 5 |
Engines
Experimental frameworks
HTTP/2
Frameworks
HTTP/3
Frameworks
WebSocket
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among TS |
|---|---|---|---|---|
| bun-websocket | Emerging tuned | 1703 | 15 of 39 | — |
Questions
What is the fastest TS web framework?
bun leads the TS web frameworks in HttpArena with a composite score of 5373 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, bun ranks 10 of 85 in its league.
What is the fastest TS HTTP engine?
deno leads the TS HTTP engines in HttpArena with a composite score of 1993 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 722 on HTTP/1.1, measured over Alpha Round. Against every language, swerverts ranks 29 of 30 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?
bun, with a composite of 2868 on HTTP/2 and 4 of 31 against all languages in its league.
What is the fastest TS HTTP/3 server?
bun, with a composite of 1639 on HTTP/3 and 1 of 16 against all languages in its league.
What is the fastest TS WebSocket server?
bun-websocket, with a composite of 1703 on WebSocket and 15 of 39 against all languages in its league.
How many TS web frameworks are benchmarked?
8 TS 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 TS fast for web servers?
The leading TS web framework, bun, places 10 of 85 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 8 entries.
Every TS entry
Other languages
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