Simple single process Express.js benchmark.
Set up:
- Go to root folder, then run:
npm install
To compile to JS:
-
Install typescript:
npm install -g typescript -
Run
tsc index.ts
To run:
npm start
To test:
bombardier -c 125 -n 5000000 http://localhost:3000/test
This will test the endpoint /test against 5,000,000 requests using 125 connections.
MIT License