HttpArena
Comparisons

JS web framework comparison: any two, head to head

uWebSockets.js is quicker than fastify on 12 of the 12 profiles they both run. On the HTTP/1.1 composite they score 438 and 290.

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

ProfileConnsuWebSockets.js req/secfastify req/secDeltauWebSockets.js p99fastify p99
Baseline5122,445,939711,263+244%517us1.37ms
Baseline4,0962,458,232737,611+233%3.05ms6.32ms
Pipelined51216,898,7161,671,338+911%1.32ms6.57ms
Pipelined4,09617,098,0411,671,518+923%5.14ms49.80ms
Short-lived5121,841,848298,779+516%1.03ms17.60ms
Short-lived4,0962,138,373291,264+634%7.13ms18.80ms
JSON4,0961,109,239522,201+112%10.30ms25.30ms
JSON Comp512329,69761,346+437%6.94ms44.40ms
JSON Comp4,096346,59249,030+607%33.50ms200.40ms
JSON Comp16,384347,11849,716+598%107.60ms1.14s
Upload323,0701,853+66%46.60ms60.90ms
Upload2563,1231,902+64%291.70ms647.40ms

Common comparisons

uWebSockets.js vs fastify · uWebSockets.js vs express · uWebSockets.js vs node-h3 · fastify vs express · fastify vs node-h3 · express vs node-h3

Questions

Is uWebSockets.js faster than fastify?

uWebSockets.js is quicker than fastify on 12 of the 12 profiles they both run. On the HTTP/1.1 composite they score 438 and 290. Both run on the same machine, in the same round, against the same profiles.

Is uWebSockets.js faster than express?

uWebSockets.js is quicker than express on 12 of the 12 profiles they both run. On the HTTP/1.1 composite they score 438 and 272. Both run on the same machine, in the same round, against the same profiles.

Is uWebSockets.js faster than node-h3?

uWebSockets.js is quicker than node-h3 on 12 of the 12 profiles they both run. On the HTTP/1.1 composite they score 438 and 207. Both run on the same machine, in the same round, against the same profiles.

Is fastify faster than express?

fastify is quicker than express on 11 of the 18 profiles they both run, and behind on 7. On the HTTP/1.1 composite they score 290 and 272. Both run on the same machine, in the same round, against the same profiles.

Which JS framework is fastest overall?

fulmine holds the highest HTTP/1.1 composite of the JS entries, at 769. 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 · Other languages · Open the leaderboard