Benchmarks of JavaScript Package Managers
Clone or download
Latest commit 09db6c0 Oct 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fixtures fix: remove package-lock.json Feb 18, 2018
lib feat: make graphs look good on all browsers Aug 22, 2018
results feat: rerun benchmarks Oct 22, 2018
.editorconfig chore: add .editorconfig Sep 7, 2017
.gitignore 🐐 Oct 15, 2016
README.md feat: rerun benchmarks Oct 22, 2018
index.js docs: change titles Sep 9, 2018
package.json feat: update yarn and pnpm Oct 22, 2018
shrinkwrap.yaml feat: rerun benchmarks Oct 22, 2018

README.md

Benchmarks of JavaScript Package Managers

This benchmark compares the performance of npm, pnpm and yarn.

React App

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 19.7s 16.1s 14.4s
install βœ” βœ” βœ” 7.4s 770ms 858ms
install βœ” βœ” 12.5s 4.1s 4.5s
install βœ” 14.6s 8.4s 7.9s
install βœ” 14.7s 12.1s 12.3s
install βœ” βœ” 7.2s 6.4s 6.6s
install βœ” βœ” 7.8s 768ms 864ms
install βœ” 7.6s 15.3s 13s

Graph of the react-app results

Ember App

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 19.6s 15.9s 12.9s
install βœ” βœ” βœ” 6.4s 754ms 873ms
install βœ” βœ” 9.5s 3.7s 4.1s
install βœ” 11.3s 8.7s 7s
install βœ” 11.9s 9.8s 10.9s
install βœ” βœ” 6.8s 7.6s 5.9s
install βœ” βœ” 6.5s 703ms 879ms
install βœ” 7.5s 13.9s 11.4s

Graph of the ember-quickstart results

Angular App

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 22.1s 22.4s 19s
install βœ” βœ” βœ” 7.4s 767ms 1s
install βœ” βœ” 13.7s 5.3s 6s
install βœ” 15.7s 11s 9.5s
install βœ” 17.1s 15.5s 19.1s
install βœ” βœ” 7.3s 8.3s 8.2s
install βœ” βœ” 7.9s 753ms 1.2s
install βœ” 7.3s 23.4s 18s

Graph of the angular-quickstart results

Medium Size App

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 21.2s 19.1s 15.5s
install βœ” βœ” βœ” 6.9s 709ms 1s
install βœ” βœ” 11.8s 4.2s 5s
install βœ” 14.3s 13.8s 7.9s
install βœ” 14.4s 12.1s 14.1s
install βœ” βœ” 6.6s 10.1s 6.9s
install βœ” βœ” 7.2s 680ms 997ms
install βœ” 6.9s 19.5s 13.7s

Graph of the medium-size-app results

Lots of Files

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 27.8s 29.1s 16.8s
install βœ” βœ” βœ” 8.1s 769ms 1.1s
install βœ” βœ” 15.1s 7.2s 5.2s
install βœ” 17.1s 17.8s 9.6s
install βœ” 18.2s 15.9s 14.7s
install βœ” βœ” 8.4s 15.3s 7.8s
install βœ” βœ” 8.4s 742ms 1.1s
install βœ” 9.7s 26.2s 16s

Graph of the alotta-files results