pnpm / benchmarks-of-javascript-package-managers

Benchmarks of JavaScript Package Managers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Benchmark doesn't check native modules.

drortirosh opened this issue · comments

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.

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