benchmarks-of-javascript-package-managers icon indicating copy to clipboard operation
benchmarks-of-javascript-package-managers copied to clipboard

Benchmark doesn't check native modules.

Open drortirosh opened this issue 5 years ago • 1 comments
trafficstars

Your benchmark doesn't packages which require native compilation. Try to depend on truffle, for example. it depends on quite a few native modules. NPM compiles them one by one. Yarn opens multiple parallel processes to compile, and achieves great efficiency.

Moreover, since re-install often requires to compile such native modules again (I don't really know why, but both NPM and Yarn do it) , the above compilation times affect not only initial installs but also re-installs.

drortirosh avatar Dec 25 '19 13:12 drortirosh

pnpm builds native dependencies concurrently as well. However, these benchmarks are already taking up too much time to run, so I am not adding more fixtures. Maybe after a cleanup

zkochan avatar Dec 26 '19 14:12 zkochan