And in both cases, Yarn is significantly faster
Upgrading from Node 6 to Node 8: a real-world performance comparison
David Gilbertson
1.6K26

And then again, npminstall / pnpm is faster than yarn, see: https://github.com/pnpm/node-package-manager-benchmark, https://github.com/cnpm/npminstall#benchmarks and saves a lot of HDD space as it links instead of copying :)