This benchmark compares the performance of npm, pnpm and yarn.
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 24.1s | 28.2s | 10.5s | |||
install | ✔ | ✔ | ✔ | 6.2s | 972ms | 798ms |
install | ✔ | ✔ | 7.5s | 7.5s | 3.4s | |
install | ✔ | 19.5s | 12.1s | 8.8s | ||
install | ✔ | 9.6s | 17.6s | 11.1s | ||
install | ✔ | ✔ | 31s | 12s | 2.4s | |
install | ✔ | ✔ | 6.9s | 960ms | 860ms | |
install | ✔ | 6.4s | 27.6s | 10.7s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 30.7s | 21.9s | 20.6s | |||
install | ✔ | ✔ | ✔ | 7.3s | 1s | 1.2s |
install | ✔ | ✔ | 12.1s | 6.3s | 7.9s | |
install | ✔ | 22.1s | 18.2s | 10.5s | ||
install | ✔ | 16.4s | 14.5s | 20.7s | ||
install | ✔ | ✔ | 18.4s | 12.4s | 6.8s | |
install | ✔ | ✔ | 7.8s | 963ms | 1.2s | |
install | ✔ | 7.4s | 21.9s | 16.3s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 15.8s | 15s | 10.1s | |||
install | ✔ | ✔ | ✔ | 4.1s | 649ms | 934ms |
install | ✔ | ✔ | 5.1s | 2.5s | 4s | |
install | ✔ | 9.3s | 15.5s | 4.6s | ||
install | ✔ | 13.1s | 9.4s | 10.6s | ||
install | ✔ | ✔ | 4.1s | 9.4s | 7.2s | |
install | ✔ | ✔ | 4.3s | 596ms | 945ms | |
install | ✔ | 4.1s | 15.9s | 8.8s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 24s | 23.4s | 18.4s | |||
install | ✔ | ✔ | ✔ | 6.8s | 873ms | 1.1s |
install | ✔ | ✔ | 9.1s | 4.3s | 7.6s | |
install | ✔ | 16.9s | 15.1s | 9.5s | ||
install | ✔ | 15.5s | 11.7s | 18s | ||
install | ✔ | ✔ | 6.5s | 15.7s | 6s | |
install | ✔ | ✔ | 6.9s | 958ms | 1.3s | |
install | ✔ | 6.6s | 23.1s | 14.9s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 29.1s | 31.1s | 21.2s | |||
install | ✔ | ✔ | ✔ | 5.5s | 936ms | 1.3s |
install | ✔ | ✔ | 13.5s | 8.3s | 10s | |
install | ✔ | 21.8s | 21.7s | 10.2s | ||
install | ✔ | 17.8s | 18.7s | 21.8s | ||
install | ✔ | ✔ | 5.3s | 20.9s | 7.5s | |
install | ✔ | ✔ | 5.7s | 920ms | 1.5s | |
install | ✔ | 5.2s | 30.5s | 17.9s |