HttpArena
Comparisons

JS web framework comparison: any two, head to head

node-h3 is quicker than fastify on 8 of the 11 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 2903 and 2444.

Pick any two of the 8 JS 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.

ProfileConnsnode-h3 req/secfastify req/secDeltanode-h3 p99fastify p99
Baseline4,096756,808737,611+3%7.31ms6.32ms
Pipelined4,0961,637,6071,671,518-2%57.90ms49.80ms
Short-lived4,096668,595291,264+130%96.90ms18.80ms
Async Delay32,000922,461862,256+7%47.80ms35.20ms
Latency-10K1,0249,9839,877+1%238.0us225.0us
Latency-1M1,024845,819927,151-9%7251968.0us4274176.0us
Latency-500K/81,024137,826137,608+0%14462976.0us14536704.0us
JSON Comp4,096242,72149,030+395%376.30ms200.40ms
JSON Comp16,384250,84549,716+405%1.47s1.14s
JSON TLS4,096507,727571,431-11%48.33ms31.69ms
8Gbit51249,36649,313+0%702.0us461.0us

Common comparisons

node-h3 vs fastify · node-h3 vs koa · node-h3 vs express · fastify vs koa · fastify vs express · koa vs express

Questions

Is node-h3 faster than fastify?

node-h3 is quicker than fastify on 8 of the 11 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 2903 and 2444. Both run on the same machine, in the same round, against the same profiles.

Is node-h3 faster than koa?

node-h3 is quicker than koa on 11 of the 11 profiles they both run. On the HTTP/1.1 composite they score 2903 and 2008. Both run on the same machine, in the same round, against the same profiles.

Is node-h3 faster than express?

node-h3 is quicker than express on 10 of the 11 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 2903 and 1865. Both run on the same machine, in the same round, against the same profiles.

Is fastify faster than koa?

fastify is quicker than koa on 7 of the 11 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 2444 and 2008. Both run on the same machine, in the same round, against the same profiles.

Which JS framework is fastest overall?

fulmine.js holds the highest HTTP/1.1 composite of the JS entries, at 6248. 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 JS entry

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