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 | 26s | 26.7s | 18.6s | |||
install | β | β | β | 7.3s | 991ms | 856ms |
install | β | β | 12.2s | 4.5s | 4.4s | |
install | β | 14.6s | 13.5s | 10.6s | ||
install | β | 16.3s | 16.4s | 16.1s | ||
install | β | β | 7.5s | 14.5s | 8s | |
install | β | β | 7.6s | 935ms | 899ms | |
install | β | 7.6s | 26.7s | 16.8s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 30.9s | 44.3s | 29.5s | |||
install | β | β | β | 6.7s | 928ms | 876ms |
install | β | β | 14.1s | 8s | 6.6s | |
install | β | 15.6s | 21.3s | 10.8s | ||
install | β | 16.5s | 24.6s | 26.4s | ||
install | β | β | 6.7s | 19.6s | 9.9s | |
install | β | β | 6.5s | 886ms | 862ms | |
install | β | 7.1s | 47.2s | 27.3s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 26.9s | 36.8s | 23.2s | |||
install | β | β | β | 7.3s | 943ms | 880ms |
install | β | β | 14.1s | 5.5s | 5.5s | |
install | β | 15.8s | 30.1s | 10.2s | ||
install | β | 17.3s | 17.9s | 19.6s | ||
install | β | β | 7.6s | 23.7s | 8.3s | |
install | β | β | 7.4s | 900ms | 875ms | |
install | β | 7.2s | 38s | 20.8s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 23.9s | 42.2s | 17.6s | |||
install | β | β | β | 6.9s | 855ms | 903ms |
install | β | β | 12.4s | 4.6s | 4.4s | |
install | β | 14.6s | 24.8s | 10.4s | ||
install | β | 15.3s | 28.3s | 14.1s | ||
install | β | β | 7.3s | 33.2s | 7.2s | |
install | β | β | 7.1s | 816ms | 966ms | |
install | β | 7s | 41.6s | 15s |
The app's package.json
here
action | cache | lockfile | node_modules | npm | Yarn | pnpm |
---|---|---|---|---|---|---|
install | 32.5s | 54.3s | 19.3s | |||
install | β | β | β | 8.3s | 898ms | 1s |
install | β | β | 14.6s | 7.5s | 4.7s | |
install | β | 17.1s | 43.3s | 11.3s | ||
install | β | 18.6s | 19.4s | 16.3s | ||
install | β | β | 7.6s | 36s | 7.9s | |
install | β | β | 8.1s | 877ms | 1s | |
install | β | 7.5s | 54.2s | 17s |