- v{{version}}
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.
clinic clean.
--help option:
clinic doctor --help
clinic bubbleprof --help
clinic clean --help
clinic flame --help
clinic heapprofiler --help