This repository aims to help people interested in performance understand how undici works and how to improve it.
I'm open to any contribution, feel free to open an issue , pull request, discussion or contact me on twitter @DarkGL_
All scripts are available in the package.json
scripts.
node ./src/server.js
clinic doctor --name doctor.html -- node ./src/bench.js
clinic flame -name flame.html -- node ./src/bench.js
clinic -name heapprofiler.html heapprofiler -- node ./src/bench.js
dexnode ./src/bench.js
0x --quiet -- node ./src/bench.js
clinic doctor --name doctor.html -- node ./src/bench-request.js
clinic flame -name flame.html -- node ./src/bench-request.js
clinic -name heapprofiler.html heapprofiler -- node ./src/bench-request.js
dexnode ./src/bench-request.js
0x --quiet -- node ./src/bench-request.js
For analyzing dexnode output, I would recommend using deoptexplorer-vscode