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 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
55xfaster than npm on “everything warm”
23mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
49.0s18x slower
pnpm 11
9.18s3.4x slower
pnpm 12
4.68s1.7x slower
pnpm 12 + pnpr
2.72s
pnpm 12 + global store
4.93s1.8x slower
pnpm 12 hoisted
4.71s1.7x slower
cacheReinstalling without a lockfile.
npm
13.9s22x slower
pnpm 11
4.69s7.4x slower
pnpm 12
997ms1.6x slower
pnpm 12 + pnpr
781ms1.2x slower
pnpm 12 + global store
630ms
pnpm 12 hoisted
928ms1.5x slower
lockfileCI, first install.
npm
12.7s4.9x slower
pnpm 11
5.16s2.0x slower
pnpm 12
3.30s1.3x slower
pnpm 12 + pnpr
2.58s
pnpm 12 + global store
3.33s1.3x slower
pnpm 12 hoisted
3.52s1.4x slower
cache + lockfileReinstalling a project you already have.
npm
8.90s38x slower
pnpm 11
2.88s12x slower
pnpm 12
744ms3.1x slower
pnpm 12 + pnpr
753ms3.2x slower
pnpm 12 + global store
237ms
pnpm 12 hoisted
587ms2.5x slower
everything warmRunning install when nothing changed.
npm
1.26s58x slower
pnpm 11
716ms33x slower
pnpm 12
23ms
pnpm 12 + pnpr
22ms
pnpm 12 + global store
23ms
pnpm 12 hoisted
22ms
updateA dependency was bumped in package.json.
npm
4.58s4.7x slower
pnpm 11
4.54s4.7x slower
pnpm 12
986ms
pnpm 12 + pnpr
971ms
pnpm 12 + global store
1.04s1.1x slower
pnpm 12 hoisted
1.28s1.3x slower

Total across all scenarios

  1. pnpm 12 + pnpr7.83sfastest
  2. pnpm 12 + global store10.2s1.3x slower
  3. pnpm 1210.7s1.4x slower
  4. pnpm 12 hoisted11.0s1.4x slower
  5. pnpm 1127.2s3.5x slower
  6. npm1m 30s12x slower

All 6 scenarios added up.

Total across all scenarios with usage weights

  1. pnpm 12 + global store18.1sfastest
  2. pnpm 12 + pnpr19.0sfastest
  3. pnpm 12 hoisted22.8s1.3x slower
  4. pnpm 1223.3s1.3x slower
  5. pnpm 111m 13s4.0x slower
  6. npm3m 34s12x 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.2pnpm 11v11.28.9pnpm 12v12.18.0pnpm 12 + pnprv12.18.0pnpm 12 + global storev12.18.0pnpm 12 hoistedv12.18.0
cleanA fresh clone. Nothing cached.49.0s9.18s4.68s2.72s4.93s4.71s
cacheReinstalling without a lockfile.13.9s4.69s997ms781ms630ms928ms
lockfileCI, first install.12.7s5.16s3.30s2.58s3.33s3.52s
cache + lockfileReinstalling a project you already have.8.90s2.88s744ms753ms237ms587ms
everything warmRunning install when nothing changed.1.26s716ms23ms22ms23ms22ms
updateA dependency was bumped in package.json.4.58s4.54s986ms971ms1.04s1.28s
Measured with npm 12.2.2 · pnpm 11 11.28.9 · pnpm 12 12.18.0 · pnpm 12 + pnpr 12.18.0 · pnpm 12 + global store 12.18.0 · pnpm 12 hoisted 12.18.0.

alotta-packages

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

6/6scenarios where pnpm beats npm
144xfaster than npm on “everything warm”
25mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 52s16x slower
pnpm 11
28.0s4.0x slower
pnpm 12
14.5s2.1x slower
pnpm 12 + pnpr
6.92s
pnpm 12 + global store
15.3s2.2x slower
pnpm 12 hoisted
15.0s2.2x slower
cacheReinstalling without a lockfile.
npm
44.5s29x slower
pnpm 11
15.4s9.8x slower
pnpm 12
2.90s1.9x slower
pnpm 12 + pnpr
2.38s1.5x slower
pnpm 12 + global store
1.56s
pnpm 12 hoisted
2.87s1.8x slower
lockfileCI, first install.
npm
32.9s5.1x slower
pnpm 11
12.9s2.0x slower
pnpm 12
8.73s1.3x slower
pnpm 12 + pnpr
6.49s
pnpm 12 + global store
8.93s1.4x slower
pnpm 12 hoisted
10.1s1.6x slower
cache + lockfileReinstalling a project you already have.
npm
24.9s51x slower
pnpm 11
5.67s12x slower
pnpm 12
2.14s4.3x slower
pnpm 12 + pnpr
2.32s4.7x slower
pnpm 12 + global store
493ms
pnpm 12 hoisted
1.88s3.8x slower
everything warmRunning install when nothing changed.
npm
3.61s150x slower
pnpm 11
689ms29x slower
pnpm 12
25ms
pnpm 12 + pnpr
25ms
pnpm 12 + global store
25ms
pnpm 12 hoisted
24ms
updateA dependency was bumped in package.json.
npm
16.8s8.5x slower
pnpm 11
13.2s6.7x slower
pnpm 12
2.48s1.3x slower
pnpm 12 + pnpr
1.98s
pnpm 12 + global store
2.42s1.2x slower
pnpm 12 hoisted
3.37s1.7x slower

Total across all scenarios

  1. pnpm 12 + pnpr20.1sfastest
  2. pnpm 12 + global store28.7s1.4x slower
  3. pnpm 1230.8s1.5x slower
  4. pnpm 12 hoisted33.2s1.7x slower
  5. pnpm 111m 16s3.8x slower
  6. npm3m 54s12x slower

All 6 scenarios added up.

Total across all scenarios with usage weights

  1. pnpm 12 + global store48.2sfastest
  2. pnpm 12 + pnpr52.0s1.1x slower
  3. pnpm 121m 6s1.4x slower
  4. pnpm 12 hoisted1m 8s1.4x slower
  5. pnpm 113m 9s3.9x slower
  6. npm9m 59s12x 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.2pnpm 11v11.28.9pnpm 12v12.18.0pnpm 12 + pnprv12.18.0pnpm 12 + global storev12.18.0pnpm 12 hoistedv12.18.0
cleanA fresh clone. Nothing cached.1m 52s28.0s14.5s6.92s15.3s15.0s
cacheReinstalling without a lockfile.44.5s15.4s2.90s2.38s1.56s2.87s
lockfileCI, first install.32.9s12.9s8.73s6.49s8.93s10.1s
cache + lockfileReinstalling a project you already have.24.9s5.67s2.14s2.32s493ms1.88s
everything warmRunning install when nothing changed.3.61s689ms25ms25ms25ms24ms
updateA dependency was bumped in package.json.16.8s13.2s2.48s1.98s2.42s3.37s
Measured with npm 12.2.2 · pnpm 11 11.28.9 · pnpm 12 12.18.0 · pnpm 12 + pnpr 12.18.0 · pnpm 12 + global store 12.18.0 · pnpm 12 hoisted 12.18.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)”
8mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.69s
fnm
2.98s1.8x slower
nvm
3.19s1.9x slower
install (warm store)Install a version you had before.
pnpm
133ms
fnm
2.95s22x slower
nvm
2.88s22x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
8ms1.7x slower
fnm
5ms
nvm
64ms13x slower

Total across all scenarios

  1. pnpm1.83sfastest
  2. fnm5.94s3.2x slower
  3. nvm6.14s3.4x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.18.0fnmv1.39.0nvmv0.41.0
install (clean)Install Node.js 24, nothing cached.1.69s2.98s3.19s
install (warm store)Install a version you had before.133ms2.95s2.88s
run in projectRun node in a project pinned to Node.js 22.8ms5ms64ms
Measured with pnpm 12.18.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.