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 29, 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
45xfaster than npm on “everything warm”
17mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
44.9s16x slower
pnpm 11
7.48s2.7x slower
pnpm 12
4.49s1.6x slower
pnpm 12 + pnpr
2.78s
pnpm 12 + global store
4.67s1.7x slower
pnpm 12 hoisted
4.66s1.7x slower
lockfileCI, first install.
npm
10.4s4.1x slower
pnpm 11
4.84s1.9x slower
pnpm 12
3.65s1.4x slower
pnpm 12 + pnpr
2.55s
pnpm 12 + global store
3.62s1.4x slower
pnpm 12 hoisted
3.70s1.5x slower
cacheReinstalling without a lockfile.
npm
8.64s16x slower
pnpm 11
3.71s6.9x slower
pnpm 12
1.01s1.9x slower
pnpm 12 + pnpr
846ms1.6x slower
pnpm 12 + global store
541ms
pnpm 12 hoisted
982ms1.8x slower
cache + lockfileReinstalling a project you already have.
npm
5.42s25x slower
pnpm 11
2.16s10x slower
pnpm 12
861ms4.0x slower
pnpm 12 + pnpr
833ms3.9x slower
pnpm 12 + global store
215ms
pnpm 12 hoisted
653ms3.0x slower
everything warmRunning install when nothing changed.
npm
757ms45x slower
pnpm 11
507ms30x slower
pnpm 12
17ms
pnpm 12 + pnpr
17ms
pnpm 12 + global store
72ms4.2x slower
pnpm 12 hoisted
17ms
updateA dependency was bumped in package.json.
npm
3.37s4.0x slower
pnpm 11
3.43s4.1x slower
pnpm 12
888ms1.1x slower
pnpm 12 + pnpr
838ms
pnpm 12 + global store
877ms
pnpm 12 hoisted
1.13s1.3x slower

Total across all scenarios

  1. pnpm 12 + pnpr7.87sfastest
  2. pnpm 12 + global store10.00s1.3x slower
  3. pnpm 1210.9s1.4x slower
  4. pnpm 12 hoisted11.1s1.4x slower
  5. pnpm 1122.1s2.8x slower
  6. npm1m 13s9.3x slower

All 6 scenarios added up.

Total across all scenarios with usage weights

  1. pnpm 12 + global store17.8sfastest
  2. pnpm 12 + pnpr19.7s1.1x slower
  3. pnpm 12 hoisted23.5s1.3x slower
  4. pnpm 1224.5s1.4x slower
  5. pnpm 1157.6s3.2x slower
  6. npm2m 33s8.6x slower

A typical mix of 20 installs during local development, where the cache is rarely cold: 8× cache + lockfile, 4× cache, 3× everything warm, 2× lockfile, 2× update, 1× clean.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.2.3pnpm 11v11.29.0pnpm 12v12.25.0pnpm 12 + pnprv12.25.0pnpm 12 + global storev12.25.0pnpm 12 hoistedv12.25.0
cleanA fresh clone. Nothing cached.44.9s7.48s4.49s2.78s4.67s4.66s
lockfileCI, first install.10.4s4.84s3.65s2.55s3.62s3.70s
cacheReinstalling without a lockfile.8.64s3.71s1.01s846ms541ms982ms
cache + lockfileReinstalling a project you already have.5.42s2.16s861ms833ms215ms653ms
everything warmRunning install when nothing changed.757ms507ms17ms17ms72ms17ms
updateA dependency was bumped in package.json.3.37s3.43s888ms838ms877ms1.13s
Measured with npm 12.2.3 · pnpm 11 11.29.0 · pnpm 12 12.25.0 · pnpm 12 + pnpr 12.25.0 · pnpm 12 + global store 12.25.0 · pnpm 12 hoisted 12.25.0.

alotta-packages

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

6/6scenarios where pnpm beats npm
81xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 40s14x slower
pnpm 11
25.7s3.5x slower
pnpm 12
14.0s1.9x slower
pnpm 12 + pnpr
7.33s
pnpm 12 + global store
14.2s1.9x slower
pnpm 12 hoisted
14.3s2.0x slower
lockfileCI, first install.
npm
27.7s4.2x slower
pnpm 11
11.7s1.8x slower
pnpm 12
8.88s1.4x slower
pnpm 12 + pnpr
6.57s
pnpm 12 + global store
9.05s1.4x slower
pnpm 12 hoisted
10.4s1.6x slower
cacheReinstalling without a lockfile.
npm
27.5s21x slower
pnpm 11
11.9s9.0x slower
pnpm 12
2.71s2.0x slower
pnpm 12 + pnpr
2.36s1.8x slower
pnpm 12 + global store
1.32s
pnpm 12 hoisted
2.74s2.1x slower
cache + lockfileReinstalling a project you already have.
npm
14.7s28x slower
pnpm 11
4.89s9.4x slower
pnpm 12
2.17s4.2x slower
pnpm 12 + pnpr
2.30s4.4x slower
pnpm 12 + global store
519ms
pnpm 12 hoisted
2.11s4.1x slower
everything warmRunning install when nothing changed.
npm
1.62s81x slower
pnpm 11
478ms24x slower
pnpm 12
20ms
pnpm 12 + pnpr
21ms1.1x slower
pnpm 12 + global store
120ms6.0x slower
pnpm 12 hoisted
20ms
updateA dependency was bumped in package.json.
npm
12.8s7.3x slower
pnpm 11
8.51s4.8x slower
pnpm 12
2.05s1.2x slower
pnpm 12 + pnpr
1.76s
pnpm 12 + global store
2.08s1.2x slower
pnpm 12 hoisted
3.44s2.0x slower

Total across all scenarios

  1. pnpm 12 + pnpr20.3sfastest
  2. pnpm 12 + global store27.3s1.3x slower
  3. pnpm 1229.8s1.5x slower
  4. pnpm 12 hoisted33.1s1.6x slower
  5. pnpm 111m 3s3.1x slower
  6. npm3m 5s9.1x slower

All 6 scenarios added up.

Total across all scenarios with usage weights

  1. pnpm 12 + global store46.3sfastest
  2. pnpm 12 + pnpr51.9s1.1x slower
  3. pnpm 121m 4s1.4x slower
  4. pnpm 12 hoisted1m 10s1.5x slower
  5. pnpm 112m 34s3.3x slower
  6. npm6m 54s8.9x slower

A typical mix of 20 installs during local development, where the cache is rarely cold: 8× cache + lockfile, 4× cache, 3× everything warm, 2× lockfile, 2× update, 1× clean.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.2.3pnpm 11v11.29.0pnpm 12v12.25.0pnpm 12 + pnprv12.25.0pnpm 12 + global storev12.25.0pnpm 12 hoistedv12.25.0
cleanA fresh clone. Nothing cached.1m 40s25.7s14.0s7.33s14.2s14.3s
lockfileCI, first install.27.7s11.7s8.88s6.57s9.05s10.4s
cacheReinstalling without a lockfile.27.5s11.9s2.71s2.36s1.32s2.74s
cache + lockfileReinstalling a project you already have.14.7s4.89s2.17s2.30s519ms2.11s
everything warmRunning install when nothing changed.1.62s478ms20ms21ms120ms20ms
updateA dependency was bumped in package.json.12.8s8.51s2.05s1.76s2.08s3.44s
Measured with npm 12.2.3 · pnpm 11 11.29.0 · pnpm 12 12.25.0 · pnpm 12 + pnpr 12.25.0 · pnpm 12 + global store 12.25.0 · pnpm 12 hoisted 12.25.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
22xfaster than nvm on “install (warm store)”
7mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.46s
fnm
2.98s2.0x slower
nvm
2.13s1.5x slower
install (warm store)Install a version you had before.
pnpm
83ms
fnm
2.95s35x slower
nvm
1.80s22x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
7ms1.5x slower
fnm
5ms
nvm
56ms12x slower

Total across all scenarios

  1. pnpm1.55sfastest
  2. nvm3.99s2.6x slower
  3. fnm5.94s3.8x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.25.0fnmv1.39.0nvmv0.41.0
install (clean)Install Node.js 24, nothing cached.1.46s2.98s2.13s
install (warm store)Install a version you had before.83ms2.95s1.80s
run in projectRun node in a project pinned to Node.js 22.7ms5ms56ms
Measured with pnpm 12.25.0 · fnm 1.39.0 · nvm 0.41.0.
  • 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.