Skip to main content
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 Sep 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
68xfaster than npm on “everything warm”
15mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
45.5s14x slower
pnpm 11
7.67s2.3x slower
pnpm 12
4.29s1.3x slower
pnpm 12 + pnpr
3.30s
pnpm 12 + global store
4.65s1.4x slower
pnpm 12 hoisted
4.51s1.4x slower
lockfileCI, first install.
npm
11.6s3.5x slower
pnpm 11
4.78s1.4x slower
pnpm 12
3.33s
pnpm 12 + pnpr
3.32s
pnpm 12 + global store
3.32s
pnpm 12 hoisted
3.49s1.1x slower
cacheReinstalling without a lockfile.
npm
10.6s18x slower
pnpm 11
4.14s7.2x slower
pnpm 12
993ms1.7x slower
pnpm 12 + pnpr
715ms1.2x slower
pnpm 12 + global store
576ms
pnpm 12 hoisted
990ms1.7x slower
cache + lockfileReinstalling a project you already have.
npm
7.00s21x slower
pnpm 11
2.13s6.5x slower
pnpm 12
611ms1.9x slower
pnpm 12 + pnpr
676ms2.0x slower
pnpm 12 + global store
330ms
pnpm 12 hoisted
611ms1.9x slower
everything warmRunning install when nothing changed.
npm
1.03s68x slower
pnpm 11
469ms31x slower
pnpm 12
15ms
pnpm 12 + pnpr
16ms1.1x slower
pnpm 12 + global store
16ms1.1x slower
pnpm 12 hoisted
16ms1.1x slower
updateA dependency was bumped in package.json.
npm
3.60s3.7x slower
pnpm 11
3.54s3.6x slower
pnpm 12
1.00s
pnpm 12 + pnpr
1.04s1.1x slower
pnpm 12 + global store
977ms
pnpm 12 hoisted
1.66s1.7x slower

Total across all scenarios

  1. pnpm 12 + pnpr9.07sfastest
  2. pnpm 12 + global store9.87s1.1x slower
  3. pnpm 1210.2s1.1x slower
  4. pnpm 12 hoisted11.3s1.2x slower
  5. pnpm 1122.7s2.5x slower
  6. npm1m 19s8.8x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.0.2pnpm 11v11.25.0pnpm 12v12.3.2pnpm 12 + pnprv12.3.2pnpm 12 + global storev12.3.2pnpm 12 hoistedv12.3.2
cleanA fresh clone. Nothing cached.45.5s7.67s4.29s3.30s4.65s4.51s
lockfileCI, first install.11.6s4.78s3.33s3.32s3.32s3.49s
cacheReinstalling without a lockfile.10.6s4.14s993ms715ms576ms990ms
cache + lockfileReinstalling a project you already have.7.00s2.13s611ms676ms330ms611ms
everything warmRunning install when nothing changed.1.03s469ms15ms16ms16ms16ms
updateA dependency was bumped in package.json.3.60s3.54s1.00s1.04s977ms1.66s
Measured with npm 12.0.2 · pnpm 11 11.25.0 · pnpm 12 12.3.2 · pnpm 12 + pnpr 12.3.2 · pnpm 12 + global store 12.3.2 · pnpm 12 hoisted 12.3.2.

alotta-packages

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

6/6scenarios where pnpm beats npm
172xfaster than npm on “everything warm”
18mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 43s11x slower
pnpm 11
24.3s2.7x slower
pnpm 12
13.6s1.5x slower
pnpm 12 + pnpr
8.99s
pnpm 12 + global store
14.5s1.6x slower
pnpm 12 hoisted
14.5s1.6x slower
cacheReinstalling without a lockfile.
npm
34.5s21x slower
pnpm 11
15.6s9.6x slower
pnpm 12
3.19s2.0x slower
pnpm 12 + pnpr
2.10s1.3x slower
pnpm 12 + global store
1.63s
pnpm 12 hoisted
3.24s2.0x slower
lockfileCI, first install.
npm
31.5s3.6x slower
pnpm 11
12.6s1.4x slower
pnpm 12
8.96s
pnpm 12 + pnpr
8.85s
pnpm 12 + global store
9.02s
pnpm 12 hoisted
10.0s1.1x slower
cache + lockfileReinstalling a project you already have.
npm
20.5s26x slower
pnpm 11
5.25s6.8x slower
pnpm 12
2.05s2.6x slower
pnpm 12 + pnpr
1.98s2.6x slower
pnpm 12 + global store
776ms
pnpm 12 hoisted
2.06s2.7x slower
everything warmRunning install when nothing changed.
npm
3.10s182x slower
pnpm 11
457ms27x slower
pnpm 12
18ms1.1x slower
pnpm 12 + pnpr
17ms
pnpm 12 + global store
18ms1.1x slower
pnpm 12 hoisted
17ms
updateA dependency was bumped in package.json.
npm
14.9s7.2x slower
pnpm 11
12.0s5.8x slower
pnpm 12
3.34s1.6x slower
pnpm 12 + pnpr
2.08s
pnpm 12 + global store
2.96s1.4x slower
pnpm 12 hoisted
6.54s3.1x slower

Total across all scenarios

  1. pnpm 12 + pnpr24.0sfastest
  2. pnpm 12 + global store28.9s1.2x slower
  3. pnpm 1231.1s1.3x slower
  4. pnpm 12 hoisted36.4s1.5x slower
  5. pnpm 111m 10s2.9x slower
  6. npm3m 27s8.6x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.0.2pnpm 11v11.25.0pnpm 12v12.3.2pnpm 12 + pnprv12.3.2pnpm 12 + global storev12.3.2pnpm 12 hoistedv12.3.2
cleanA fresh clone. Nothing cached.1m 43s24.3s13.6s8.99s14.5s14.5s
cacheReinstalling without a lockfile.34.5s15.6s3.19s2.10s1.63s3.24s
lockfileCI, first install.31.5s12.6s8.96s8.85s9.02s10.0s
cache + lockfileReinstalling a project you already have.20.5s5.25s2.05s1.98s776ms2.06s
everything warmRunning install when nothing changed.3.10s457ms18ms17ms18ms17ms
updateA dependency was bumped in package.json.14.9s12.0s3.34s2.08s2.96s6.54s
Measured with npm 12.0.2 · pnpm 11 11.25.0 · pnpm 12 12.3.2 · pnpm 12 + pnpr 12.3.2 · pnpm 12 + global store 12.3.2 · pnpm 12 hoisted 12.3.2.
  • 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
19xfaster than nvm on “install (warm store)”
5mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.09s
fnm
2.98s2.7x slower
nvm
3.15s2.9x slower
install (warm store)Install a version you had before.
pnpm
148ms
fnm
2.95s20x slower
nvm
2.88s19x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
5ms1.1x slower
fnm
5ms
nvm
93ms19x slower

Total across all scenarios

  1. pnpm1.24sfastest
  2. fnm5.94s4.8x slower
  3. nvm6.12s4.9x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.3.2fnmv1.39.0nvmv0.40.7
install (clean)Install Node.js 24, nothing cached.1.09s2.98s3.15s
install (warm store)Install a version you had before.148ms2.95s2.88s
run in projectRun node in a project pinned to Node.js 22.5ms5ms93ms
Measured with pnpm 12.3.2 · fnm 1.39.0 · nvm 0.40.7.
  • 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.