Benchmarks

Leveraging our experience with Node.js performance, Fastify has been built from the ground up to be faster than the currently well-known web frameworks such as Express or Hapi

All the code used for our benchmarks is available on GitHub. Here's a brief summary on how fastify performed against the most well known Node.js web frameworks:

Fastify

 

29304 req/sec (Check the code)

100%

Koa

 

26228 req/sec (Check the code)

89.50313950313951%

Express

 

18740 req/sec (Check the code)

63.950313950313955%

Restify

 

16395 req/sec (Check the code)

55.94799344799345%

Hapi

 

4226 req/sec (Check the code)

14.42123942123942%

Do you want to provide feedback on our benchmarks? Open an issue on GitHub and we will get back to you!