GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - KerwinChina/nodejs-express-fastify-stress-test-comparison: nodejs-express-fastify-stress-test-comparison

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
express
express
 
 
fastify
fastify
 
 
.gitignore
.gitignore
 
 
FUNDING.yml
FUNDING.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
environment.png
environment.png
 
 

Repository files navigation

Node.js Express vs Fastify Stress Test Comparison

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.

Directory Structure

  • express/: Contains the Node.js Express application.
  • fastify/: Contains the Node.js Fastify application.

Stress Test Results

QPS Comparison test environment

test environment 🚀

Test Result

express qps result: Express QPS 🚀 Fastify qps result Fastify QPS 🚀

Conclusion

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.

How to Run the Tests

  1. Navigate to the express/ or fastify/ directory.
  2. Install dependencies: npm install
  3. Run the stress test: node index.js
  4. Use Wrk to do the stress test wrk -t4 -c10000 -d60s http://xxx

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

nodejs-express-fastify-stress-test-comparison

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.