Reproducible measurements

How fast is pnpm, really?

Installing two real projects with npm, two generations of pnpm, and three pnpm configurations — and installing Node.js itself against fnm and nvm.

Data fetched Oct 7, 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”
15mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
44.0s13x slower
pnpm 11
7.36s2.2x slower
pnpm 12
4.29s1.3x slower
pnpm 12 + pnpr
3.40s
pnpm 12 + global store
4.69s1.4x slower
pnpm 12 hoisted
4.53s1.3x slower
lockfileCI, first install.
npm
10.6s3.2x slower
pnpm 11
4.34s1.3x slower
pnpm 12
3.30s
pnpm 12 + pnpr
3.42s
pnpm 12 + global store
3.42s
pnpm 12 hoisted
3.53s1.1x slower
cacheReinstalling without a lockfile.
npm
8.33s15x slower
pnpm 11
3.26s6.0x slower
pnpm 12
945ms1.7x slower
pnpm 12 + pnpr
797ms1.5x slower
pnpm 12 + global store
542ms
pnpm 12 hoisted
859ms1.6x slower
cache + lockfileReinstalling a project you already have.
npm
5.16s24x slower
pnpm 11
1.77s8.3x slower
pnpm 12
797ms3.7x slower
pnpm 12 + pnpr
754ms3.5x slower
pnpm 12 + global store
214ms
pnpm 12 hoisted
592ms2.8x slower
everything warmRunning install when nothing changed.
npm
766ms51x slower
pnpm 11
396ms26x slower
pnpm 12
15ms
pnpm 12 + pnpr
17ms1.1x slower
pnpm 12 + global store
18ms1.2x slower
pnpm 12 hoisted
16ms1.1x slower
updateA dependency was bumped in package.json.
npm
3.38s3.9x slower
pnpm 11
2.94s3.4x slower
pnpm 12
871ms
pnpm 12 + pnpr
944ms1.1x slower
pnpm 12 + global store
928ms1.1x slower
pnpm 12 hoisted
1.09s1.3x slower

Total across all scenarios

  1. pnpm 12 + pnpr9.33sfastest
  2. pnpm 12 + global store9.81s1.1x slower
  3. pnpm 1210.2s1.1x slower
  4. pnpm 12 hoisted10.6s1.1x slower
  5. pnpm 1120.1s2.2x slower
  6. npm1m 12s7.7x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.2pnpm 12v12.10.0pnpm 12 + pnprv12.10.0pnpm 12 + global storev12.10.0pnpm 12 hoistedv12.10.0
cleanA fresh clone. Nothing cached.44.0s7.36s4.29s3.40s4.69s4.53s
lockfileCI, first install.10.6s4.34s3.30s3.42s3.42s3.53s
cacheReinstalling without a lockfile.8.33s3.26s945ms797ms542ms859ms
cache + lockfileReinstalling a project you already have.5.16s1.77s797ms754ms214ms592ms
everything warmRunning install when nothing changed.766ms396ms15ms17ms18ms16ms
updateA dependency was bumped in package.json.3.38s2.94s871ms944ms928ms1.09s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.10.0 · pnpm 12 + pnpr 12.10.0 · pnpm 12 + global store 12.10.0 · pnpm 12 hoisted 12.10.0.

alotta-packages

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

6/6scenarios where pnpm beats npm
127xfaster than npm on “everything warm”
18mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 38s11x slower
pnpm 11
21.2s2.3x slower
pnpm 12
13.5s1.5x slower
pnpm 12 + pnpr
9.10s
pnpm 12 + global store
14.1s1.6x slower
pnpm 12 hoisted
14.1s1.5x slower
lockfileCI, first install.
npm
28.8s3.3x slower
pnpm 11
11.5s1.3x slower
pnpm 12
8.83s
pnpm 12 + pnpr
8.89s
pnpm 12 + global store
8.96s
pnpm 12 hoisted
10.2s1.2x slower
cacheReinstalling without a lockfile.
npm
28.2s22x slower
pnpm 11
13.1s10x slower
pnpm 12
3.08s2.4x slower
pnpm 12 + pnpr
2.24s1.7x slower
pnpm 12 + global store
1.30s
pnpm 12 hoisted
2.88s2.2x slower
cache + lockfileReinstalling a project you already have.
npm
15.0s31x slower
pnpm 11
5.75s12x slower
pnpm 12
2.38s4.9x slower
pnpm 12 + pnpr
2.38s4.9x slower
pnpm 12 + global store
483ms
pnpm 12 hoisted
2.07s4.3x slower
everything warmRunning install when nothing changed.
npm
2.28s134x slower
pnpm 11
378ms22x slower
pnpm 12
18ms1.1x slower
pnpm 12 + pnpr
17ms
pnpm 12 + global store
17ms
pnpm 12 hoisted
19ms1.1x slower
updateA dependency was bumped in package.json.
npm
13.1s7.1x slower
pnpm 11
10.3s5.6x slower
pnpm 12
2.27s1.2x slower
pnpm 12 + pnpr
1.85s
pnpm 12 + global store
2.32s1.3x slower
pnpm 12 hoisted
3.26s1.8x slower

Total across all scenarios

  1. pnpm 12 + pnpr24.5sfastest
  2. pnpm 12 + global store27.2s1.1x slower
  3. pnpm 1230.0s1.2x slower
  4. pnpm 12 hoisted32.5s1.3x slower
  5. pnpm 111m 2s2.5x slower
  6. npm3m 6s7.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.10.0pnpm 12 + pnprv12.10.0pnpm 12 + global storev12.10.0pnpm 12 hoistedv12.10.0
cleanA fresh clone. Nothing cached.1m 38s21.2s13.5s9.10s14.1s14.1s
lockfileCI, first install.28.8s11.5s8.83s8.89s8.96s10.2s
cacheReinstalling without a lockfile.28.2s13.1s3.08s2.24s1.30s2.88s
cache + lockfileReinstalling a project you already have.15.0s5.75s2.38s2.38s483ms2.07s
everything warmRunning install when nothing changed.2.28s378ms18ms17ms17ms19ms
updateA dependency was bumped in package.json.13.1s10.3s2.27s1.85s2.32s3.26s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.10.0 · pnpm 12 + pnpr 12.10.0 · pnpm 12 + global store 12.10.0 · pnpm 12 hoisted 12.10.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
799ms
fnm
2.98s3.7x slower
nvm
2.68s3.3x slower
install (warm store)Install a version you had before.
pnpm
161ms
fnm
2.95s18x slower
nvm
2.13s13x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
5ms
fnm
5ms1.1x slower
nvm
67ms15x slower

Total across all scenarios

  1. pnpm965msfastest
  2. nvm4.87s5.0x slower
  3. fnm5.94s6.1x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.10.0fnmv1.39.0nvmv0.40.8
install (clean)Install Node.js 24, nothing cached.799ms2.98s2.68s
install (warm store)Install a version you had before.161ms2.95s2.13s
run in projectRun node in a project pinned to Node.js 22.5ms5ms67ms
Measured with pnpm 12.10.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.