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 22, 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
86xfaster than npm on “everything warm”
17mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
49.6s17x slower
pnpm 11
7.40s2.6x slower
pnpm 12
4.58s1.6x slower
pnpm 12 + pnpr
2.90s
pnpm 12 + global store
4.98s1.7x slower
pnpm 12 hoisted
4.78s1.6x slower
cacheReinstalling without a lockfile.
npm
15.5s24x slower
pnpm 11
3.43s5.3x slower
pnpm 12
1.16s1.8x slower
pnpm 12 + pnpr
859ms1.3x slower
pnpm 12 + global store
646ms
pnpm 12 hoisted
1.02s1.6x slower
lockfileCI, first install.
npm
13.9s5.4x slower
pnpm 11
4.62s1.8x slower
pnpm 12
3.40s1.3x slower
pnpm 12 + pnpr
2.60s
pnpm 12 + global store
3.50s1.3x slower
pnpm 12 hoisted
3.63s1.4x slower
cache + lockfileReinstalling a project you already have.
npm
10.6s49x slower
pnpm 11
2.40s11x slower
pnpm 12
851ms3.9x slower
pnpm 12 + pnpr
818ms3.8x slower
pnpm 12 + global store
218ms
pnpm 12 hoisted
636ms2.9x slower
everything warmRunning install when nothing changed.
npm
1.47s86x slower
pnpm 11
400ms24x slower
pnpm 12
17ms
pnpm 12 + pnpr
18ms1.1x slower
pnpm 12 + global store
18ms1.1x slower
pnpm 12 hoisted
18ms1.1x slower
updateA dependency was bumped in package.json.
npm
5.01s6.1x slower
pnpm 11
3.17s3.9x slower
pnpm 12
815ms
pnpm 12 + pnpr
942ms1.2x slower
pnpm 12 + global store
872ms1.1x slower
pnpm 12 hoisted
1.11s1.4x slower

Total across all scenarios

  1. pnpm 12 + pnpr8.13sfastest
  2. pnpm 12 + global store10.2s1.3x slower
  3. pnpm 1210.8s1.3x slower
  4. pnpm 12 hoisted11.2s1.4x slower
  5. pnpm 1121.4s2.6x slower
  6. npm1m 36s12x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.6pnpm 12v12.15.0pnpm 12 + pnprv12.15.0pnpm 12 + global storev12.15.0pnpm 12 hoistedv12.15.0
cleanA fresh clone. Nothing cached.49.6s7.40s4.58s2.90s4.98s4.78s
cacheReinstalling without a lockfile.15.5s3.43s1.16s859ms646ms1.02s
lockfileCI, first install.13.9s4.62s3.40s2.60s3.50s3.63s
cache + lockfileReinstalling a project you already have.10.6s2.40s851ms818ms218ms636ms
everything warmRunning install when nothing changed.1.47s400ms17ms18ms18ms18ms
updateA dependency was bumped in package.json.5.01s3.17s815ms942ms872ms1.11s
Measured with npm 12.2.0 · pnpm 11 11.28.6 · pnpm 12 12.15.0 · pnpm 12 + pnpr 12.15.0 · pnpm 12 + global store 12.15.0 · pnpm 12 hoisted 12.15.0.

alotta-packages

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

6/6scenarios where pnpm beats npm
214xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 56s17x slower
pnpm 11
26.5s3.8x slower
pnpm 12
13.7s1.9x slower
pnpm 12 + pnpr
7.01s
pnpm 12 + global store
14.8s2.1x slower
pnpm 12 hoisted
14.7s2.1x slower
cacheReinstalling without a lockfile.
npm
48.1s30x slower
pnpm 11
12.3s7.7x slower
pnpm 12
3.39s2.1x slower
pnpm 12 + pnpr
2.42s1.5x slower
pnpm 12 + global store
1.59s
pnpm 12 hoisted
2.99s1.9x slower
lockfileCI, first install.
npm
37.7s5.6x slower
pnpm 11
11.5s1.7x slower
pnpm 12
9.15s1.3x slower
pnpm 12 + pnpr
6.80s
pnpm 12 + global store
9.46s1.4x slower
pnpm 12 hoisted
10.3s1.5x slower
cache + lockfileReinstalling a project you already have.
npm
30.0s53x slower
pnpm 11
4.85s8.6x slower
pnpm 12
2.36s4.2x slower
pnpm 12 + pnpr
2.50s4.4x slower
pnpm 12 + global store
566ms
pnpm 12 hoisted
2.15s3.8x slower
everything warmRunning install when nothing changed.
npm
4.28s238x slower
pnpm 11
445ms25x slower
pnpm 12
20ms1.1x slower
pnpm 12 + pnpr
19ms1.1x slower
pnpm 12 + global store
19ms1.1x slower
pnpm 12 hoisted
18ms
updateA dependency was bumped in package.json.
npm
17.8s11x slower
pnpm 11
10.1s6.3x slower
pnpm 12
2.10s1.3x slower
pnpm 12 + pnpr
1.60s
pnpm 12 + global store
2.02s1.3x slower
pnpm 12 hoisted
2.77s1.7x slower

Total across all scenarios

  1. pnpm 12 + pnpr20.4sfastest
  2. pnpm 12 + global store28.5s1.4x slower
  3. pnpm 1230.7s1.5x slower
  4. pnpm 12 hoisted32.9s1.6x slower
  5. pnpm 111m 6s3.2x slower
  6. npm4m 14s12x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.6pnpm 12v12.15.0pnpm 12 + pnprv12.15.0pnpm 12 + global storev12.15.0pnpm 12 hoistedv12.15.0
cleanA fresh clone. Nothing cached.1m 56s26.5s13.7s7.01s14.8s14.7s
cacheReinstalling without a lockfile.48.1s12.3s3.39s2.42s1.59s2.99s
lockfileCI, first install.37.7s11.5s9.15s6.80s9.46s10.3s
cache + lockfileReinstalling a project you already have.30.0s4.85s2.36s2.50s566ms2.15s
everything warmRunning install when nothing changed.4.28s445ms20ms19ms19ms18ms
updateA dependency was bumped in package.json.17.8s10.1s2.10s1.60s2.02s2.77s
Measured with npm 12.2.0 · pnpm 11 11.28.6 · pnpm 12 12.15.0 · pnpm 12 + pnpr 12.15.0 · pnpm 12 + global store 12.15.0 · pnpm 12 hoisted 12.15.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
15xfaster than nvm on “install (warm store)”
5mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.33s
fnm
2.98s2.2x slower
nvm
3.32s2.5x slower
install (warm store)Install a version you had before.
pnpm
196ms
fnm
2.95s15x slower
nvm
2.90s15x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
5ms
fnm
5ms
nvm
82ms17x slower

Total across all scenarios

  1. pnpm1.53sfastest
  2. fnm5.94s3.9x slower
  3. nvm6.30s4.1x slower

All 3 scenarios added up.

Exact numbers

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