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 28, 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
59xfaster than npm on “everything warm”
18mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
46.0s17x slower
pnpm 11
8.11s2.9x slower
pnpm 12
4.58s1.7x slower
pnpm 12 + pnpr
2.77s
pnpm 12 + global store
4.95s1.8x slower
pnpm 12 hoisted
4.76s1.7x slower
lockfileCI, first install.
npm
11.7s4.6x slower
pnpm 11
4.81s1.9x slower
pnpm 12
3.25s1.3x slower
pnpm 12 + pnpr
2.52s
pnpm 12 + global store
3.26s1.3x slower
pnpm 12 hoisted
3.56s1.4x slower
cacheReinstalling without a lockfile.
npm
11.0s20x slower
pnpm 11
3.90s7.1x slower
pnpm 12
1.04s1.9x slower
pnpm 12 + pnpr
801ms1.5x slower
pnpm 12 + global store
546ms
pnpm 12 hoisted
940ms1.7x slower
cache + lockfileReinstalling a project you already have.
npm
7.34s34x slower
pnpm 11
2.32s11x slower
pnpm 12
837ms3.8x slower
pnpm 12 + pnpr
817ms3.7x slower
pnpm 12 + global store
218ms
pnpm 12 hoisted
635ms2.9x slower
everything warmRunning install when nothing changed.
npm
1.06s63x slower
pnpm 11
505ms30x slower
pnpm 12
18ms1.1x slower
pnpm 12 + pnpr
17ms
pnpm 12 + global store
17ms
pnpm 12 hoisted
17ms
updateA dependency was bumped in package.json.
npm
4.23s4.6x slower
pnpm 11
3.51s3.8x slower
pnpm 12
928ms
pnpm 12 + pnpr
966ms
pnpm 12 + global store
943ms
pnpm 12 hoisted
1.20s1.3x slower

Total across all scenarios

  1. pnpm 12 + pnpr7.88sfastest
  2. pnpm 12 + global store9.93s1.3x slower
  3. pnpm 1210.7s1.4x slower
  4. pnpm 12 hoisted11.1s1.4x slower
  5. pnpm 1123.2s2.9x 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.8pnpm 12v12.16.0pnpm 12 + pnprv12.16.0pnpm 12 + global storev12.16.0pnpm 12 hoistedv12.16.0
cleanA fresh clone. Nothing cached.46.0s8.11s4.58s2.77s4.95s4.76s
lockfileCI, first install.11.7s4.81s3.25s2.52s3.26s3.56s
cacheReinstalling without a lockfile.11.0s3.90s1.04s801ms546ms940ms
cache + lockfileReinstalling a project you already have.7.34s2.32s837ms817ms218ms635ms
everything warmRunning install when nothing changed.1.06s505ms18ms17ms17ms17ms
updateA dependency was bumped in package.json.4.23s3.51s928ms966ms943ms1.20s
Measured with npm 12.2.1 · pnpm 11 11.28.8 · pnpm 12 12.16.0 · pnpm 12 + pnpr 12.16.0 · pnpm 12 + global store 12.16.0 · pnpm 12 hoisted 12.16.0.

alotta-packages

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

6/6scenarios where pnpm beats npm
155xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 45s15x slower
pnpm 11
26.8s3.8x slower
pnpm 12
14.6s2.0x slower
pnpm 12 + pnpr
7.10s
pnpm 12 + global store
15.5s2.2x slower
pnpm 12 hoisted
15.7s2.2x slower
cacheReinstalling without a lockfile.
npm
37.7s27x slower
pnpm 11
13.2s9.5x slower
pnpm 12
3.05s2.2x slower
pnpm 12 + pnpr
2.50s1.8x slower
pnpm 12 + global store
1.39s
pnpm 12 hoisted
3.00s2.2x slower
lockfileCI, first install.
npm
31.1s4.8x slower
pnpm 11
12.2s1.9x slower
pnpm 12
8.77s1.3x slower
pnpm 12 + pnpr
6.50s
pnpm 12 + global store
8.96s1.4x slower
pnpm 12 hoisted
10.2s1.6x slower
cache + lockfileReinstalling a project you already have.
npm
21.1s45x slower
pnpm 11
5.52s12x slower
pnpm 12
2.24s4.8x slower
pnpm 12 + pnpr
2.36s5.1x slower
pnpm 12 + global store
466ms
pnpm 12 hoisted
2.09s4.5x slower
everything warmRunning install when nothing changed.
npm
3.09s182x slower
pnpm 11
502ms30x slower
pnpm 12
20ms1.2x slower
pnpm 12 + pnpr
17ms
pnpm 12 + global store
18ms1.1x slower
pnpm 12 hoisted
19ms1.1x slower
updateA dependency was bumped in package.json.
npm
15.2s8.7x slower
pnpm 11
10.8s6.2x slower
pnpm 12
2.05s1.2x slower
pnpm 12 + pnpr
1.74s
pnpm 12 + global store
2.08s1.2x slower
pnpm 12 hoisted
3.13s1.8x slower

Total across all scenarios

  1. pnpm 12 + pnpr20.2sfastest
  2. pnpm 12 + global store28.4s1.4x slower
  3. pnpm 1230.7s1.5x slower
  4. pnpm 12 hoisted34.1s1.7x slower
  5. pnpm 111m 9s3.4x slower
  6. npm3m 33s11x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.2.1pnpm 11v11.28.8pnpm 12v12.16.0pnpm 12 + pnprv12.16.0pnpm 12 + global storev12.16.0pnpm 12 hoistedv12.16.0
cleanA fresh clone. Nothing cached.1m 45s26.8s14.6s7.10s15.5s15.7s
cacheReinstalling without a lockfile.37.7s13.2s3.05s2.50s1.39s3.00s
lockfileCI, first install.31.1s12.2s8.77s6.50s8.96s10.2s
cache + lockfileReinstalling a project you already have.21.1s5.52s2.24s2.36s466ms2.09s
everything warmRunning install when nothing changed.3.09s502ms20ms17ms18ms19ms
updateA dependency was bumped in package.json.15.2s10.8s2.05s1.74s2.08s3.13s
Measured with npm 12.2.1 · pnpm 11 11.28.8 · pnpm 12 12.16.0 · pnpm 12 + pnpr 12.16.0 · pnpm 12 + global store 12.16.0 · pnpm 12 hoisted 12.16.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
26xfaster than nvm on “install (warm store)”
8mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.47s
fnm
2.98s2.0x slower
nvm
3.32s2.3x slower
install (warm store)Install a version you had before.
pnpm
111ms
fnm
2.95s27x slower
nvm
2.90s26x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
8ms1.6x slower
fnm
5ms
nvm
82ms17x slower

Total across all scenarios

  1. pnpm1.59sfastest
  2. fnm5.94s3.7x slower
  3. nvm6.30s4.0x slower

All 3 scenarios added up.

Exact numbers

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