HttpArena
Comparisons

TS web framework comparison: any two, head to head

bun is ahead of elysia on 14 of the 14 tests they both run. On the HTTP/1.1 composite bun scores 5373 and elysia 3755.

Pick any two of the 7 TS entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. The fixed-rate profiles offer every entry the same request rate, so they are compared on their score out of 100 instead, which is CPU cost and latency at that rate. What each profile measures.

ProfileConnsbunelysiaDeltabun p99elysia p99
Requests per second
Baseline4,0961,926,3861,446,994+33%3.84ms8.58ms
Pipelined4,0965,529,928329,229+1580%15.20ms236.30ms
Short-lived4,0961,672,4441,264,437+32%8.61ms11.90ms
Async Delay32,0001,949,5321,155,316+69%22.30ms47.40ms
JSON Comp4,096460,716322,182+43%20.90ms29.60ms
JSON Comp16,384460,816330,432+39%61.00ms81.80ms
JSON TLS4,0961,081,708925,608+17%41.48ms36.49ms
Static TLS1,024481,407128,254+275%62.40ms66.22ms
Async DB1,024283,049246,428+15%15.90ms15.30ms
Fortunes1,02482,40862,089+33%24.00ms30.40ms
Fixed-rate profiles: score out of 100
Latency-10K1,02462.934.6+82%125us660us
Latency-1M1,02461.942.4+46%429us2.29ms
Latency-500K/81,02422.011.5+91%7.22s10.79s
8Gbit51265.641.9+57%180us823us

Common comparisons

bun vs elysia · bun vs hono-bun · bun vs hono-node · elysia vs hono-bun · elysia vs hono-node · hono-bun vs hono-node

Questions

Is bun faster than elysia?

bun is ahead of elysia on 14 of the 14 tests they both run. On the HTTP/1.1 composite bun scores 5373 and elysia 3755. Both run on the same machine, in the same round, against the same profiles.

Is bun faster than hono-bun?

bun is ahead of hono-bun on 14 of the 14 tests they both run. On the HTTP/1.1 composite bun scores 5373 and hono-bun 2976. Both run on the same machine, in the same round, against the same profiles.

Is bun faster than hono-node?

bun is ahead of hono-node on 11 of the 11 tests they both run. On the HTTP/1.1 composite bun scores 5373 and hono-node 1665. Both run on the same machine, in the same round, against the same profiles.

Is elysia faster than hono-bun?

elysia is ahead of hono-bun on 11 of the 14 tests they both run, and behind on 3. On the HTTP/1.1 composite elysia scores 3755 and hono-bun 2976. Both run on the same machine, in the same round, against the same profiles.

Which TS framework is fastest overall?

Among the TS web frameworks, bun holds the highest HTTP/1.1 composite, at 5373; among the TS HTTP engines, deno holds the highest HTTP/1.1 composite, at 1993; among the experimental TS frameworks, swerverts holds the highest HTTP/1.1 composite, at 722. Each league is measured against its own leader, and the leagues do not all count the same profiles, so those numbers are not on one scale and the highest of them is not the fastest entry on the page: to set an entry of one league against an entry of another, pick the two in the table above. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every TS entry

Results updated · TS composite ranking · Compare across languages · Other languages · Open the leaderboard