A question of microbenchmarks
German computing experts love to quote
Klaus Gims’ excellent work on microbenchmarks frequently — and one of his core messages was that getting reliable results is all but easy.
The Fastify team has endeared itself to developers by providing a series of benchmarks whose code can be inspected at github.com/ fastify/benchmarks and shows excellent performance in both latency, throughput and request handling capability. Classic frameworks such as Express.js get pummelled, with lesser-known competitors faring better.
One thing that makes the data believable is that the Fastify team’s own product is not at the very top — frameworks such as Spirit and Connect manage to be slightly faster by ditching the router infrastructure.