HttpArena
Comparisons

TS web framework comparison: any two, head to head

bun is quicker than elysia on 13 of the 14 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 6065 and 4272.

Pick any two of the 5 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. What each profile measures.

ProfileConnsbun req/secelysia req/secDeltabun p99elysia p99
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
Latency-10K1,0249,9829,980+0%125.0us660.0us
Latency-1M1,024997,935997,790+0%429.0us2291.0us
Latency-500K/81,024337,393242,418+39%7223296.0us10792960.0us
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
8Gbit51249,23749,362-0%180.0us823.0us
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

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 quicker than elysia on 13 of the 14 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 6065 and 4272. Both run on the same machine, in the same round, against the same profiles.

Is bun faster than hono-bun?

bun is quicker than hono-bun on 13 of the 14 profiles they both run. On the HTTP/1.1 composite they score 6065 and 3327. Both run on the same machine, in the same round, against the same profiles.

Is bun faster than hono-node?

bun is quicker than hono-node on 10 of the 11 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 6065 and 1867. Both run on the same machine, in the same round, against the same profiles.

Is elysia faster than hono-bun?

elysia is quicker than hono-bun on 12 of the 14 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 4272 and 3327. Both run on the same machine, in the same round, against the same profiles.

Which TS framework is fastest overall?

bun holds the highest HTTP/1.1 composite of the TS entries, at 6065. 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