Skip to content

parkan/npm-cache-benchmark

 
 

Repository files navigation

npm install benchmarks

Benchmarks of npm, npm5, shrinkpack, yarn, and pnpm install times.

git clone https://github.com/JamieMason/npm-cache-benchmark.git
cd npm-cache-benchmark
npm install -g [email protected] [email protected] [email protected] [email protected]
node index.js

Results (OS X)

Installer Average over 5 runs
yarn --offline 5.88
pnpm --offline 6.72
pnpm (cached) 6.86
npm 5.x (shrinkpacked, compressed) 8.35
npm 5.x (shrinkpacked) 8.94
npm 5.x (cached) 11.36
npm 4.x (cached) 13.47
yarn 13.71
npm 5.x 14.93
pnpm 17.57
npm 4.x (shrinkpacked, compressed) 18.73
npm 4.x (shrinkpacked) 18.78
npm 4.x 29.73

Full results can be found in results.json.

About

Benchmarks of npm, npm5, shrinkpack, and yarn install times

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • TypeScript 2.2%
  • CSS 0.7%
  • HTML 0.3%
  • Makefile 0.1%
  • Shell 0.1%
  • Other 0.2%