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
| Framework | Type | Composite | Rank in its league | Rank among TS |
|---|---|---|---|---|
| barejs | Emerging | 4819 | 8 of 88 | 1 of 6 |
| bun | Flagship | 3834 | 13 of 88 | 2 of 6 |
| elysia | Flagship | 2668 | 28 of 88 | 3 of 6 |
| hono-bun | Flagship | 2296 | 32 of 88 | 4 of 6 |
| nifra | Emerging | 1903 | 44 of 88 | 5 of 6 |
| hono-node | Flagship | 1172 | 65 of 88 | 6 of 6 |
Engines
Experimental frameworks
HTTP/2
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among TS |
|---|---|---|---|---|
| barejs | Emerging | 2498 | 5 of 34 | 1 of 2 |
| bun | Flagship | 2354 | 6 of 34 | 2 of 2 |
HTTP/3
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among TS |
|---|---|---|---|---|
| barejs | Emerging | 1133 | 1 of 17 | 1 of 2 |
| bun | Flagship | 1098 | 3 of 17 | 2 of 2 |
WebSocket
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among TS |
|---|---|---|---|---|
| barejs | Emerging | 2552 | 4 of 31 | 1 of 2 |
| bun-websocket | Emerging tuned | 1524 | 17 of 41 | 2 of 2 |
Database
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among TS |
|---|---|---|---|---|
| barejs | Emerging | 912 | 4 of 8 | 1 of 2 |
| nifra | Emerging | 550 | 5 of 8 | 2 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