This repository contains a stress test comparison between Node.js Express and Fastify frameworks. We measure the performance using QPS (Queries Per Second) and compare the results.
express/
: Contains the Node.js Express application.fastify/
: Contains the Node.js Fastify application.
express qps result: 🚀 Fastify qps result 🚀
In our stress test comparison, Fastify demonstrated superior performance compared to Express. The QPS charts and test result clearly illustrate the efficiency of Fastify under stress conditions.
Feel free to explore the individual folders for detailed implementations and configurations.
- Navigate to the
express/
orfastify/
directory. - Install dependencies:
npm install
- Run the stress test:
node index.js
- Use Wrk to do the stress test
wrk -t4 -c10000 -d60s http://xxx
This project is licensed under the MIT License - see the LICENSE file for details.