Skip to content

This repository aims to help people interested in performance understand how undici works and how to improve it.

License

Notifications You must be signed in to change notification settings

DarkGL/undici-performance-research

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

undici-performance-research

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_

Benchmarking

All scripts are available in the package.json scripts.

server

node ./src/server.js

fetch

Clinic

clinic doctor --name doctor.html -- node ./src/bench.js

Clinic Flame

clinic flame -name flame.html -- node ./src/bench.js

Clinic Heap Profiler

clinic -name heapprofiler.html heapprofiler -- node ./src/bench.js

Dexnode

dexnode ./src/bench.js

0x

0x --quiet -- node ./src/bench.js

request

Clinic request

clinic doctor --name doctor.html -- node ./src/bench-request.js

Clinic Flame request

clinic flame -name flame.html -- node ./src/bench-request.js

Clinic Heap Profiler request

clinic -name heapprofiler.html heapprofiler -- node ./src/bench-request.js

Dexnode request

dexnode ./src/bench-request.js

0x request

0x --quiet -- node ./src/bench-request.js

Dexnode output

For analyzing dexnode output, I would recommend using deoptexplorer-vscode

Recommended reading

About

This repository aims to help people interested in performance understand how undici works and how to improve it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%