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 11, 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
73xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
49.5s15x slower
pnpm 11
8.60s2.6x slower
pnpm 12
4.38s1.3x slower
pnpm 12 + pnpr
3.36s
pnpm 12 + global store
4.90s1.5x slower
pnpm 12 hoisted
4.46s1.3x slower
cacheReinstalling without a lockfile.
npm
15.4s22x slower
pnpm 11
5.07s7.2x slower
pnpm 12
1.06s1.5x slower
pnpm 12 + pnpr
805ms1.1x slower
pnpm 12 + global store
700ms
pnpm 12 hoisted
1.07s1.5x slower
lockfileCI, first install.
npm
13.8s4.2x slower
pnpm 11
5.10s1.5x slower
pnpm 12
3.31s
pnpm 12 + pnpr
3.36s
pnpm 12 + global store
3.35s
pnpm 12 hoisted
3.52s1.1x slower
cache + lockfileReinstalling a project you already have.
npm
10.4s42x slower
pnpm 11
2.81s11x slower
pnpm 12
821ms3.4x slower
pnpm 12 + pnpr
832ms3.4x slower
pnpm 12 + global store
245ms
pnpm 12 hoisted
640ms2.6x slower
everything warmRunning install when nothing changed.
npm
1.45s76x slower
pnpm 11
649ms34x slower
pnpm 12
20ms1.1x slower
pnpm 12 + pnpr
20ms1.1x slower
pnpm 12 + global store
20ms1.1x slower
pnpm 12 hoisted
19ms
updateA dependency was bumped in package.json.
npm
4.90s4.9x slower
pnpm 11
4.65s4.6x slower
pnpm 12
1.04s
pnpm 12 + pnpr
1.09s1.1x slower
pnpm 12 + global store
1.01s
pnpm 12 hoisted
1.38s1.4x slower

Total across all scenarios

  1. pnpm 12 + pnpr9.46sfastest
  2. pnpm 12 + global store10.2s1.1x slower
  3. pnpm 1210.6s1.1x slower
  4. pnpm 12 hoisted11.1s1.2x slower
  5. pnpm 1126.9s2.8x slower
  6. npm1m 35s10x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.2pnpm 12v12.11.2pnpm 12 + pnprv12.11.2pnpm 12 + global storev12.11.2pnpm 12 hoistedv12.11.2
cleanA fresh clone. Nothing cached.49.5s8.60s4.38s3.36s4.90s4.46s
cacheReinstalling without a lockfile.15.4s5.07s1.06s805ms700ms1.07s
lockfileCI, first install.13.8s5.10s3.31s3.36s3.35s3.52s
cache + lockfileReinstalling a project you already have.10.4s2.81s821ms832ms245ms640ms
everything warmRunning install when nothing changed.1.45s649ms20ms20ms20ms19ms
updateA dependency was bumped in package.json.4.90s4.65s1.04s1.09s1.01s1.38s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.11.2 · pnpm 12 + pnpr 12.11.2 · pnpm 12 + global store 12.11.2 · pnpm 12 hoisted 12.11.2.

alotta-packages

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

6/6scenarios where pnpm beats npm
198xfaster than npm on “everything warm”
22mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 54s13x slower
pnpm 11
26.7s2.9x slower
pnpm 12
14.1s1.6x slower
pnpm 12 + pnpr
9.06s
pnpm 12 + global store
14.8s1.6x slower
pnpm 12 hoisted
14.7s1.6x slower
cacheReinstalling without a lockfile.
npm
47.5s26x slower
pnpm 11
18.6s10x slower
pnpm 12
3.27s1.8x slower
pnpm 12 + pnpr
2.48s1.4x slower
pnpm 12 + global store
1.83s
pnpm 12 hoisted
3.32s1.8x slower
lockfileCI, first install.
npm
37.0s4.2x slower
pnpm 11
13.1s1.5x slower
pnpm 12
8.82s
pnpm 12 + pnpr
8.90s
pnpm 12 + global store
8.96s
pnpm 12 hoisted
10.3s1.2x slower
cache + lockfileReinstalling a project you already have.
npm
29.8s51x slower
pnpm 11
6.43s11x slower
pnpm 12
2.43s4.1x slower
pnpm 12 + pnpr
2.51s4.3x slower
pnpm 12 + global store
589ms
pnpm 12 hoisted
2.06s3.5x slower
everything warmRunning install when nothing changed.
npm
4.35s207x slower
pnpm 11
641ms31x slower
pnpm 12
22ms
pnpm 12 + pnpr
22ms
pnpm 12 + global store
23ms1.1x slower
pnpm 12 hoisted
21ms
updateA dependency was bumped in package.json.
npm
17.5s8.1x slower
pnpm 11
14.7s6.8x slower
pnpm 12
3.10s1.4x slower
pnpm 12 + pnpr
2.15s
pnpm 12 + global store
2.93s1.4x slower
pnpm 12 hoisted
4.20s2.0x slower

Total across all scenarios

  1. pnpm 12 + pnpr25.1sfastest
  2. pnpm 12 + global store29.2s1.2x slower
  3. pnpm 1231.8s1.3x slower
  4. pnpm 12 hoisted34.6s1.4x slower
  5. pnpm 111m 20s3.2x slower
  6. npm4m 11s10.0x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.2.0pnpm 11v11.28.2pnpm 12v12.11.2pnpm 12 + pnprv12.11.2pnpm 12 + global storev12.11.2pnpm 12 hoistedv12.11.2
cleanA fresh clone. Nothing cached.1m 54s26.7s14.1s9.06s14.8s14.7s
cacheReinstalling without a lockfile.47.5s18.6s3.27s2.48s1.83s3.32s
lockfileCI, first install.37.0s13.1s8.82s8.90s8.96s10.3s
cache + lockfileReinstalling a project you already have.29.8s6.43s2.43s2.51s589ms2.06s
everything warmRunning install when nothing changed.4.35s641ms22ms22ms23ms21ms
updateA dependency was bumped in package.json.17.5s14.7s3.10s2.15s2.93s4.20s
Measured with npm 12.2.0 · pnpm 11 11.28.2 · pnpm 12 12.11.2 · pnpm 12 + pnpr 12.11.2 · pnpm 12 + global store 12.11.2 · pnpm 12 hoisted 12.11.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
18xfaster than nvm on “install (warm store)”
6mspnpm's best run — “run in project”
install (clean)Install Node.js 24, nothing cached.
pnpm
1.20s
fnm
2.98s2.5x slower
nvm
3.23s2.7x slower
install (warm store)Install a version you had before.
pnpm
159ms
fnm
2.95s19x slower
nvm
2.92s18x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
6ms1.3x slower
fnm
5ms
nvm
88ms18x slower

Total across all scenarios

  1. pnpm1.36sfastest
  2. fnm5.94s4.4x slower
  3. nvm6.24s4.6x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.11.2fnmv1.39.0nvmv0.40.8
install (clean)Install Node.js 24, nothing cached.1.20s2.98s3.23s
install (warm store)Install a version you had before.159ms2.95s2.92s
run in projectRun node in a project pinned to Node.js 22.6ms5ms88ms
Measured with pnpm 12.11.2 · 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.