node-clinic-doctor-examples
Server examples for clinic
git clone [email protected]:nearform/node-clinic-doctor-examples.git
cd node-clinic-doctor-examples
npm install
npm install -g clinic
npm install -g autocannon
Examples
Event Loop
clinic doctor --autocannon [ / ] -- node slow-event-loop
GC
clinic doctor --autocannon [ -c 2500 / ] -- node slow-gc
I/O
clinic doctor --autocannon [ / ] -- node slow-io
Sync I/O
clinic doctor --autocannon [ / ] -- node sync-io