JavaScript TypeScript HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Node package manager benchmark

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 26.7s 20.1s 19.8s
install βœ” βœ” βœ” 8.3s 1.2s 1s
install βœ” βœ” 12.8s 4.8s 7.5s
install βœ” 23.4s 10.8s 10.2s
install βœ” 16.4s 13.9s 17.8s
install βœ” βœ” 8.5s 10.6s 6.4s
install βœ” βœ” 8.7s 1.1s 1s
install βœ” 8.5s 19.3s 15.7s

Graph of the react-app results

Ember app

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 28.7s 35.3s 29.3s
install βœ” βœ” βœ” 7.2s 1.1s 1s
install βœ” βœ” 14.5s 8.5s 9.8s
install βœ” 23.1s 17.8s 11.9s
install βœ” 21.9s 24s 27.8s
install βœ” βœ” 7.3s 16.7s 7.8s
install βœ” βœ” 7.4s 1.1s 973ms
install βœ” 7.8s 33.7s 24.7s

Graph of the ember-quickstart results

Angular app

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 29.7s 39.9s 25.1s
install βœ” βœ” βœ” 8.3s 1.1s 1s
install βœ” βœ” 14.7s 6.3s 8.9s
install βœ” 24.8s 24s 11.5s
install βœ” 18.9s 20.3s 24.7s
install βœ” βœ” 8.3s 25.7s 7.6s
install βœ” βœ” 8.5s 1.1s 1s
install βœ” 8.9s 39.3s 22.3s

Graph of the angular-quickstart results

Medium Size App

The app's package.json here

action cache lockfile node_modules npm Yarn pnpm
install 25.9s 24.5s 19.4s
install βœ” βœ” βœ” 7.2s 1s 1.1s
install βœ” βœ” 11.9s 4.9s 7.3s
install βœ” 20.9s 15.3s 9.6s
install βœ” 16.8s 13.7s 17.2s
install βœ” βœ” 7.4s 15.3s 6.2s
install βœ” βœ” 7.9s 1s 1.1s
install βœ” 8.1s 25.2s 15.8s

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 31.6s 32.7s 21.5s
install βœ” βœ” βœ” 7.3s 1.1s 1.2s
install βœ” βœ” 15.2s 7.9s 7.5s
install βœ” 25.8s 21.3s 10.8s
install βœ” 19.1s 19.6s 18.9s
install βœ” βœ” 6.7s 22.3s 7.4s
install βœ” βœ” 7.2s 1.1s 1.2s
install βœ” 6.7s 30.9s 17.6s

Graph of the alotta-files results