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.
| Profile | Conns | node-h3 req/sec | fastify req/sec | Delta | node-h3 p99 | fastify p99 |
|---|---|---|---|---|---|---|
| Baseline | 4,096 | 756,808 | 737,611 | +3% | 7.31ms | 6.32ms |
| Pipelined | 4,096 | 1,637,607 | 1,671,518 | -2% | 57.90ms | 49.80ms |
| Short-lived | 4,096 | 668,595 | 291,264 | +130% | 96.90ms | 18.80ms |
| Async Delay | 32,000 | 922,461 | 862,256 | +7% | 47.80ms | 35.20ms |
| Latency-10K | 1,024 | 9,983 | 9,877 | +1% | 238.0us | 225.0us |
| Latency-1M | 1,024 | 845,819 | 927,151 | -9% | 7251968.0us | 4274176.0us |
| Latency-500K/8 | 1,024 | 137,826 | 137,608 | +0% | 14462976.0us | 14536704.0us |
| JSON Comp | 4,096 | 242,721 | 49,030 | +395% | 376.30ms | 200.40ms |
| JSON Comp | 16,384 | 250,845 | 49,716 | +405% | 1.47s | 1.14s |
| JSON TLS | 4,096 | 507,727 | 571,431 | -11% | 48.33ms | 31.69ms |
| 8Gbit | 512 | 49,366 | 49,313 | +0% | 702.0us | 461.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