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 13, 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
61xfaster than npm on “everything warm”
17mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
45.7s13x slower
pnpm 11
7.76s2.2x slower
pnpm 12
4.44s1.3x slower
pnpm 12 + pnpr
3.46s
pnpm 12 + global store
4.88s1.4x slower
pnpm 12 hoisted
4.60s1.3x slower
lockfileCI, first install.
npm
11.4s3.4x slower
pnpm 11
4.82s1.4x slower
pnpm 12
3.36s
pnpm 12 + pnpr
3.40s
pnpm 12 + global store
3.37s
pnpm 12 hoisted
3.59s1.1x slower
cacheReinstalling without a lockfile.
npm
10.6s17x slower
pnpm 11
4.05s6.4x slower
pnpm 12
1.12s1.8x slower
pnpm 12 + pnpr
856ms1.4x slower
pnpm 12 + global store
630ms
pnpm 12 hoisted
980ms1.6x slower
cache + lockfileReinstalling a project you already have.
npm
7.01s31x slower
pnpm 11
2.29s10x slower
pnpm 12
857ms3.8x slower
pnpm 12 + pnpr
885ms4.0x slower
pnpm 12 + global store
223ms
pnpm 12 hoisted
652ms2.9x slower
everything warmRunning install when nothing changed.
npm
1.04s61x slower
pnpm 11
509ms30x slower
pnpm 12
17ms
pnpm 12 + pnpr
17ms
pnpm 12 + global store
18ms1.1x slower
pnpm 12 hoisted
17ms
updateA dependency was bumped in package.json.
npm
4.17s4.2x slower
pnpm 11
3.63s3.7x slower
pnpm 12
990ms
pnpm 12 + pnpr
1.10s1.1x slower
pnpm 12 + global store
985ms
pnpm 12 hoisted
1.25s1.3x slower

Total across all scenarios

  1. pnpm 12 + pnpr9.72sfastest
  2. pnpm 12 + global store10.1sfastest
  3. pnpm 1210.8s1.1x slower
  4. pnpm 12 hoisted11.1s1.1x slower
  5. pnpm 1123.1s2.4x slower
  6. npm1m 20s8.2x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.2pnpm 12v12.12.1pnpm 12 + pnprv12.12.1pnpm 12 + global storev12.12.1pnpm 12 hoistedv12.12.1
cleanA fresh clone. Nothing cached.45.7s7.76s4.44s3.46s4.88s4.60s
lockfileCI, first install.11.4s4.82s3.36s3.40s3.37s3.59s
cacheReinstalling without a lockfile.10.6s4.05s1.12s856ms630ms980ms
cache + lockfileReinstalling a project you already have.7.01s2.29s857ms885ms223ms652ms
everything warmRunning install when nothing changed.1.04s509ms17ms17ms18ms17ms
updateA dependency was bumped in package.json.4.17s3.63s990ms1.10s985ms1.25s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.12.1 · pnpm 12 + pnpr 12.12.1 · pnpm 12 + global store 12.12.1 · pnpm 12 hoisted 12.12.1.

alotta-packages

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

6/6scenarios where pnpm beats npm
155xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 43s11x slower
pnpm 11
24.4s2.7x slower
pnpm 12
13.9s1.5x slower
pnpm 12 + pnpr
9.06s
pnpm 12 + global store
15.3s1.7x slower
pnpm 12 hoisted
15.3s1.7x slower
cacheReinstalling without a lockfile.
npm
35.0s20x slower
pnpm 11
16.2s9.4x slower
pnpm 12
3.26s1.9x slower
pnpm 12 + pnpr
2.48s1.4x slower
pnpm 12 + global store
1.72s
pnpm 12 hoisted
3.23s1.9x slower
lockfileCI, first install.
npm
31.8s3.6x slower
pnpm 11
12.1s1.4x slower
pnpm 12
8.80s
pnpm 12 + pnpr
8.98s
pnpm 12 + global store
9.21s
pnpm 12 hoisted
10.3s1.2x slower
cache + lockfileReinstalling a project you already have.
npm
20.5s36x slower
pnpm 11
5.36s9.3x slower
pnpm 12
2.40s4.2x slower
pnpm 12 + pnpr
2.40s4.2x slower
pnpm 12 + global store
573ms
pnpm 12 hoisted
2.06s3.6x slower
everything warmRunning install when nothing changed.
npm
3.09s172x slower
pnpm 11
487ms27x slower
pnpm 12
20ms1.1x slower
pnpm 12 + pnpr
18ms
pnpm 12 + global store
20ms1.1x slower
pnpm 12 hoisted
18ms
updateA dependency was bumped in package.json.
npm
14.7s7.4x slower
pnpm 11
11.8s5.9x slower
pnpm 12
2.85s1.4x slower
pnpm 12 + pnpr
2.00s
pnpm 12 + global store
2.75s1.4x slower
pnpm 12 hoisted
3.94s2.0x slower

Total across all scenarios

  1. pnpm 12 + pnpr24.9sfastest
  2. pnpm 12 + global store29.6s1.2x slower
  3. pnpm 1231.2s1.3x slower
  4. pnpm 12 hoisted34.8s1.4x slower
  5. pnpm 111m 10s2.8x slower
  6. npm3m 28s8.3x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.2pnpm 12v12.12.1pnpm 12 + pnprv12.12.1pnpm 12 + global storev12.12.1pnpm 12 hoistedv12.12.1
cleanA fresh clone. Nothing cached.1m 43s24.4s13.9s9.06s15.3s15.3s
cacheReinstalling without a lockfile.35.0s16.2s3.26s2.48s1.72s3.23s
lockfileCI, first install.31.8s12.1s8.80s8.98s9.21s10.3s
cache + lockfileReinstalling a project you already have.20.5s5.36s2.40s2.40s573ms2.06s
everything warmRunning install when nothing changed.3.09s487ms20ms18ms20ms18ms
updateA dependency was bumped in package.json.14.7s11.8s2.85s2.00s2.75s3.94s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.12.1 · pnpm 12 + pnpr 12.12.1 · pnpm 12 + global store 12.12.1 · pnpm 12 hoisted 12.12.1.
  • 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.02s
fnm
2.98s2.9x slower
nvm
2.71s2.7x slower
install (warm store)Install a version you had before.
pnpm
167ms
fnm
2.95s18x slower
nvm
2.52s15x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
5ms1.1x slower
fnm
5ms
nvm
75ms15x slower

Total across all scenarios

  1. pnpm1.19sfastest
  2. nvm5.31s4.5x slower
  3. fnm5.94s5.0x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.12.1fnmv1.39.0nvmv0.40.8
install (clean)Install Node.js 24, nothing cached.1.02s2.98s2.71s
install (warm store)Install a version you had before.167ms2.95s2.52s
run in projectRun node in a project pinned to Node.js 22.5ms5ms75ms
Measured with pnpm 12.12.1 · 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.