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 Nov 5, 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
51xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
46.0s17x slower
pnpm 11
8.41s3.1x slower
pnpm 12
4.69s1.7x slower
pnpm 12 + pnpr
2.73s
pnpm 12 + global store
4.92s1.8x slower
pnpm 12 hoisted
4.74s1.7x slower
lockfileCI, first install.
npm
11.4s4.4x slower
pnpm 11
4.88s1.9x slower
pnpm 12
3.33s1.3x slower
pnpm 12 + pnpr
2.60s
pnpm 12 + global store
3.29s1.3x slower
pnpm 12 hoisted
3.64s1.4x slower
cacheReinstalling without a lockfile.
npm
11.0s19x slower
pnpm 11
3.94s6.8x slower
pnpm 12
1.05s1.8x slower
pnpm 12 + pnpr
790ms1.4x slower
pnpm 12 + global store
581ms
pnpm 12 hoisted
968ms1.7x slower
cache + lockfileReinstalling a project you already have.
npm
7.17s32x slower
pnpm 11
2.40s11x slower
pnpm 12
799ms3.6x slower
pnpm 12 + pnpr
809ms3.6x slower
pnpm 12 + global store
223ms
pnpm 12 hoisted
634ms2.8x slower
everything warmRunning install when nothing changed.
npm
1.01s53x slower
pnpm 11
558ms29x slower
pnpm 12
20ms1.1x slower
pnpm 12 + pnpr
19ms
pnpm 12 + global store
20ms1.1x slower
pnpm 12 hoisted
19ms
updateA dependency was bumped in package.json.
npm
3.92s4.2x slower
pnpm 11
3.76s4.0x slower
pnpm 12
940ms
pnpm 12 + pnpr
958ms
pnpm 12 + global store
974ms
pnpm 12 hoisted
1.24s1.3x slower

Total across all scenarios

  1. pnpm 12 + pnpr7.91sfastest
  2. pnpm 12 + global store10.0s1.3x slower
  3. pnpm 1210.8s1.4x slower
  4. pnpm 12 hoisted11.2s1.4x slower
  5. pnpm 1123.9s3.0x slower
  6. npm1m 21s10x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.2.1pnpm 11v11.28.9pnpm 12v12.17.0pnpm 12 + pnprv12.17.0pnpm 12 + global storev12.17.0pnpm 12 hoistedv12.17.0
cleanA fresh clone. Nothing cached.46.0s8.41s4.69s2.73s4.92s4.74s
lockfileCI, first install.11.4s4.88s3.33s2.60s3.29s3.64s
cacheReinstalling without a lockfile.11.0s3.94s1.05s790ms581ms968ms
cache + lockfileReinstalling a project you already have.7.17s2.40s799ms809ms223ms634ms
everything warmRunning install when nothing changed.1.01s558ms20ms19ms20ms19ms
updateA dependency was bumped in package.json.3.92s3.76s940ms958ms974ms1.24s
Measured with npm 12.2.1 · pnpm 11 11.28.9 · pnpm 12 12.17.0 · pnpm 12 + pnpr 12.17.0 · pnpm 12 + global store 12.17.0 · pnpm 12 hoisted 12.17.0.

alotta-packages

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

6/6scenarios where pnpm beats npm
141xfaster than npm on “everything warm”
21mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 45s14x slower
pnpm 11
27.5s3.7x slower
pnpm 12
15.1s2.1x slower
pnpm 12 + pnpr
7.37s
pnpm 12 + global store
15.5s2.1x slower
pnpm 12 hoisted
15.2s2.1x slower
cacheReinstalling without a lockfile.
npm
36.4s25x slower
pnpm 11
14.7s10.0x slower
pnpm 12
3.08s2.1x slower
pnpm 12 + pnpr
2.54s1.7x slower
pnpm 12 + global store
1.48s
pnpm 12 hoisted
3.06s2.1x slower
lockfileCI, first install.
npm
30.6s4.7x slower
pnpm 11
12.4s1.9x slower
pnpm 12
8.76s1.3x slower
pnpm 12 + pnpr
6.54s
pnpm 12 + global store
8.95s1.4x slower
pnpm 12 hoisted
10.2s1.6x slower
cache + lockfileReinstalling a project you already have.
npm
20.8s38x slower
pnpm 11
6.29s11x slower
pnpm 12
2.34s4.2x slower
pnpm 12 + pnpr
2.48s4.5x slower
pnpm 12 + global store
552ms
pnpm 12 hoisted
2.23s4.0x slower
everything warmRunning install when nothing changed.
npm
2.96s141x slower
pnpm 11
542ms26x slower
pnpm 12
21ms
pnpm 12 + pnpr
21ms
pnpm 12 + global store
21ms
pnpm 12 hoisted
24ms1.1x slower
updateA dependency was bumped in package.json.
npm
14.7s7.8x slower
pnpm 11
11.7s6.2x slower
pnpm 12
2.37s1.3x slower
pnpm 12 + pnpr
1.88s
pnpm 12 + global store
2.31s1.2x slower
pnpm 12 hoisted
3.11s1.7x slower

Total across all scenarios

  1. pnpm 12 + pnpr20.8sfastest
  2. pnpm 12 + global store28.8s1.4x slower
  3. pnpm 1231.7s1.5x slower
  4. pnpm 12 hoisted33.9s1.6x slower
  5. pnpm 111m 13s3.5x slower
  6. npm3m 30s10x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.2.1pnpm 11v11.28.9pnpm 12v12.17.0pnpm 12 + pnprv12.17.0pnpm 12 + global storev12.17.0pnpm 12 hoistedv12.17.0
cleanA fresh clone. Nothing cached.1m 45s27.5s15.1s7.37s15.5s15.2s
cacheReinstalling without a lockfile.36.4s14.7s3.08s2.54s1.48s3.06s
lockfileCI, first install.30.6s12.4s8.76s6.54s8.95s10.2s
cache + lockfileReinstalling a project you already have.20.8s6.29s2.34s2.48s552ms2.23s
everything warmRunning install when nothing changed.2.96s542ms21ms21ms21ms24ms
updateA dependency was bumped in package.json.14.7s11.7s2.37s1.88s2.31s3.11s
Measured with npm 12.2.1 · pnpm 11 11.28.9 · pnpm 12 12.17.0 · pnpm 12 + pnpr 12.17.0 · pnpm 12 + global store 12.17.0 · pnpm 12 hoisted 12.17.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.
2/3scenarios where pnpm is fastest
24xfaster than nvm on “install (warm store)”
9mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.70s
fnm
2.98s1.8x slower
nvm
3.32s2.0x slower
install (warm store)Install a version you had before.
pnpm
121ms
fnm
2.95s24x slower
nvm
2.90s24x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
9ms1.8x slower
fnm
5ms
nvm
82ms17x slower

Total across all scenarios

  1. pnpm1.83sfastest
  2. fnm5.94s3.2x slower
  3. nvm6.30s3.4x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.17.0fnmv1.39.0nvmv0.40.8
install (clean)Install Node.js 24, nothing cached.1.70s2.98s3.32s
install (warm store)Install a version you had before.121ms2.95s2.90s
run in projectRun node in a project pinned to Node.js 22.9ms5ms82ms
Measured with pnpm 12.17.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.