Also: let's make this sh!t slow
This project is meant to showcase and experiment with different performance metrics in NodeJS.
Most files will include comments with autocannon and/or 0x commands to run. Make sure to install these globally:
And if you are to lazy to think, here is the copy/pasta:
yarn global add autocannon 0x
Optionally you can install pm2 globally, but it is also installed locally in this project.
- download or git clone
yarn install
A bunch of scripts to launch our app.
yarn run app:start:native
yarn run app:start:pm2
yarn run app:restart:pm2
yarn run app:stop:pm2
cd module
node-gyp configure build
yarn global add clinic
clinic doctor -- node index.js