Benchmarks

How fast is pnpm, really? We install two real projects with npm, two generations of pnpm, and three pnpm configurations — and install Node.js itself against fnm and nvm.

Data fetched Oct 15, 2026 from pnpm/benchmarks, rebuilt on every deploy.

Package managers

Install Speed

Two projects installed six ways each — the cache and lockfile states you actually end up in, from a fresh clone to a warm re-run.

Tools
Projects
Every bar shares one scale, so scenarios are comparable with each other. Tools stay in the same order in every scenario.

alotta-files

A wide dependency graph of small packages — lots of files to link, little to resolve.

6/6scenarios where pnpm beats npm
53xfaster than npm on “everything warm”
15mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
44.1s13x slower
pnpm 11
7.20s2.2x slower
pnpm 12
4.38s1.3x slower
pnpm 12 + pnpr
3.34s
pnpm 12 + global store
4.60s1.4x slower
pnpm 12 hoisted
4.46s1.3x slower
lockfileCI, first install.
npm
10.6s3.3x slower
pnpm 11
4.37s1.3x slower
pnpm 12
3.24s
pnpm 12 + pnpr
3.34s
pnpm 12 + global store
3.37s
pnpm 12 hoisted
3.44s1.1x slower
cacheReinstalling without a lockfile.
npm
8.04s16x slower
pnpm 11
3.33s6.5x slower
pnpm 12
912ms1.8x slower
pnpm 12 + pnpr
637ms1.2x slower
pnpm 12 + global store
513ms
pnpm 12 hoisted
868ms1.7x slower
cache + lockfileReinstalling a project you already have.
npm
4.98s27x slower
pnpm 11
1.87s10x slower
pnpm 12
696ms3.8x slower
pnpm 12 + pnpr
659ms3.6x slower
pnpm 12 + global store
185ms
pnpm 12 hoisted
516ms2.8x slower
everything warmRunning install when nothing changed.
npm
788ms53x slower
pnpm 11
393ms26x slower
pnpm 12
15ms
pnpm 12 + pnpr
15ms
pnpm 12 + global store
15ms
pnpm 12 hoisted
16ms1.1x slower
updateA dependency was bumped in package.json.
npm
3.21s3.9x slower
pnpm 11
3.06s3.7x slower
pnpm 12
821ms
pnpm 12 + pnpr
965ms1.2x slower
pnpm 12 + global store
904ms1.1x slower
pnpm 12 hoisted
1.08s1.3x slower

Total across all scenarios

  1. pnpm 12 + pnpr8.96sfastest
  2. pnpm 12 + global store9.58s1.1x slower
  3. pnpm 1210.1s1.1x slower
  4. pnpm 12 hoisted10.4s1.2x slower
  5. pnpm 1120.2s2.3x slower
  6. npm1m 12s8.0x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.2pnpm 12v12.13.0pnpm 12 + pnprv12.13.0pnpm 12 + global storev12.13.0pnpm 12 hoistedv12.13.0
cleanA fresh clone. Nothing cached.44.1s7.20s4.38s3.34s4.60s4.46s
lockfileCI, first install.10.6s4.37s3.24s3.34s3.37s3.44s
cacheReinstalling without a lockfile.8.04s3.33s912ms637ms513ms868ms
cache + lockfileReinstalling a project you already have.4.98s1.87s696ms659ms185ms516ms
everything warmRunning install when nothing changed.788ms393ms15ms15ms15ms16ms
updateA dependency was bumped in package.json.3.21s3.06s821ms965ms904ms1.08s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.13.0 · pnpm 12 + pnpr 12.13.0 · pnpm 12 + global store 12.13.0 · pnpm 12 hoisted 12.13.0.

alotta-packages

Fourteen modern toolchains — Angular, Nest, Vite, webpack, Storybook — resolving to about a gigabyte.

6/6scenarios where pnpm beats npm
132xfaster than npm on “everything warm”
17mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 37s11x slower
pnpm 11
21.4s2.4x slower
pnpm 12
13.1s1.5x slower
pnpm 12 + pnpr
8.96s
pnpm 12 + global store
14.3s1.6x slower
pnpm 12 hoisted
14.4s1.6x slower
lockfileCI, first install.
npm
28.3s3.2x slower
pnpm 11
11.1s1.3x slower
pnpm 12
8.74s
pnpm 12 + pnpr
8.87s
pnpm 12 + global store
8.92s
pnpm 12 hoisted
9.90s1.1x slower
cacheReinstalling without a lockfile.
npm
25.1s17x slower
pnpm 11
12.0s8.1x slower
pnpm 12
2.82s1.9x slower
pnpm 12 + pnpr
2.09s1.4x slower
pnpm 12 + global store
1.48s
pnpm 12 hoisted
2.79s1.9x slower
cache + lockfileReinstalling a project you already have.
npm
14.5s35x slower
pnpm 11
4.29s10x slower
pnpm 12
1.93s4.6x slower
pnpm 12 + pnpr
1.84s4.4x slower
pnpm 12 + global store
419ms
pnpm 12 hoisted
1.77s4.2x slower
everything warmRunning install when nothing changed.
npm
2.24s132x slower
pnpm 11
378ms22x slower
pnpm 12
17ms
pnpm 12 + pnpr
19ms1.1x slower
pnpm 12 + global store
17ms
pnpm 12 hoisted
17ms
updateA dependency was bumped in package.json.
npm
12.7s7.2x slower
pnpm 11
9.49s5.3x slower
pnpm 12
1.93s1.1x slower
pnpm 12 + pnpr
1.78s
pnpm 12 + global store
1.93s1.1x slower
pnpm 12 hoisted
2.69s1.5x slower

Total across all scenarios

  1. pnpm 12 + pnpr23.6sfastest
  2. pnpm 12 + global store27.1s1.1x slower
  3. pnpm 1228.6s1.2x slower
  4. pnpm 12 hoisted31.6s1.3x slower
  5. pnpm 1158.7s2.5x slower
  6. npm2m 60s7.6x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.2pnpm 12v12.13.0pnpm 12 + pnprv12.13.0pnpm 12 + global storev12.13.0pnpm 12 hoistedv12.13.0
cleanA fresh clone. Nothing cached.1m 37s21.4s13.1s8.96s14.3s14.4s
lockfileCI, first install.28.3s11.1s8.74s8.87s8.92s9.90s
cacheReinstalling without a lockfile.25.1s12.0s2.82s2.09s1.48s2.79s
cache + lockfileReinstalling a project you already have.14.5s4.29s1.93s1.84s419ms1.77s
everything warmRunning install when nothing changed.2.24s378ms17ms19ms17ms17ms
updateA dependency was bumped in package.json.12.7s9.49s1.93s1.78s1.93s2.69s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.13.0 · pnpm 12 + pnpr 12.13.0 · pnpm 12 + global store 12.13.0 · pnpm 12 hoisted 12.13.0.
  • Two projects, run separately: "alotta-files" is a wide graph of small packages, "alotta-packages" is fourteen modern toolchains resolving to about a gigabyte. Both are shown because they do not agree — pnpm leads on each, but by different margins, and pnpr gains far more on the larger graph.
  • Within a project the only thing that changes is the package manager, and every manager is measured with the same versions on both projects. Numbers are never combined across projects.
  • Each number is the fastest of the three most recent runs.
  • Everything installs through the same registry over the same emulated link (50ms, 200Mbps), so the times include the round trips a real install pays for.
  • Six scenarios here. The suite measures three more that delete your cache or lockfile but keep node_modules — nobody works that way, so they are left out.
  • pnpm 12 + pnpr is the same version and the same command, with resolution handled by the registry instead of locally.
  • The three columns after pnpm 12 are that same pnpm 12 configured differently — a global virtual store, a hoisted node_modules, and registry-side resolution. They are shown to make the cost of each setting visible, and are left out of the headline numbers above, which describe pnpm as it installs by default.
Node.js version managers

Node.js Version Management

pnpm installs and switches Node.js versions itself, so you may not need a version manager at all. Here it is against fnm and nvm.

Every bar shares one scale, so scenarios are comparable with each other. Tools stay in the same order in every scenario.
3/3scenarios where pnpm is fastest
13xfaster than nvm on “install (warm store)”
5mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
870ms
fnm
2.98s3.4x slower
nvm
2.86s3.3x slower
install (warm store)Install a version you had before.
pnpm
161ms
fnm
2.95s18x slower
nvm
2.15s13x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
5ms
fnm
5ms
nvm
66ms14x slower

Total across all scenarios

  1. pnpm1.04sfastest
  2. nvm5.08s4.9x slower
  3. fnm5.94s5.7x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.13.0fnmv1.39.0nvmv0.40.8
install (clean)Install Node.js 24, nothing cached.870ms2.98s2.86s
install (warm store)Install a version you had before.161ms2.95s2.15s
run in projectRun node in a project pinned to Node.js 22.5ms5ms66ms
Measured with pnpm 12.13.0 · fnm 1.39.0 · nvm 0.40.8.
  • pnpm keeps Node.js in its store, so a version it has seen before needs no download.
  • There is no switch command — the node on your PATH is whatever the project asks for.
  • Timed inside a shell with $EPOCHREALTIME, because nvm is a shell function rather than a binary.

How these numbers are produced

Every tool runs on the same machine against the same project, and the timings are committed to pnpm/benchmarks. This page reads them at build time and picks the newest version of each tool.

This is one project on one machine — your numbers will differ. Run pnpm run benchmark to see your own.