- v{{version}}

Getting started

As a first step, run the clinic doctor: clinic doctor -- node server.js Then benchmark your server with wrk or autocannon: wrk http://localhost:3000 autocannon http://localhost:3000 Finally shut down your server (Ctrl+C). Once the server process has shutdown clinic doctor will analyse the collected data and detect what type of issue you are having. Based on the issue type, it will provide a recommendation for you. For example, to debug I/O issues, use clinic bubbleprof: clinic bubbleprof -- node server.js Then benchmark your server again, just like you did with clinic doctor.

Report an issue

If you encounter any issue, feel free to send us an issue report at: https://github.com/clinicjs/node-clinic/issues

Utilities

When using Clinic.js a bunch you have fill up your directory with data folders and files. You can clean these easily using clinic clean.

More information

For information on the Clinic.js sub-commands, use the --help option: clinic doctor --help clinic bubbleprof --help clinic clean --help clinic flame --help clinic heapprofiler --help

Flags

-h | --help Display Help -v | --version Display Version