Saltar al contenido principal
Reproducible measurements

How fast is pnpm, really?

Installing two real projects with npm, two generations of pnpm, and three pnpm configurations — and installing Node.js itself against fnm and nvm.

Data fetched Sep 6, 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
57xfaster than npm on “everything warm”
18mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
45.5s14x slower
pnpm 11
8.79s2.7x slower
pnpm 12
4.38s1.3x slower
pnpm 12 + pnpr
3.31s
pnpm 12 + global store
4.64s1.4x slower
pnpm 12 hoisted
4.54s1.4x slower
lockfileCI, first install.
npm
11.6s3.6x slower
pnpm 11
4.91s1.5x slower
pnpm 12
3.25s
pnpm 12 + pnpr
3.24s
pnpm 12 + global store
3.31s
pnpm 12 hoisted
3.46s1.1x slower
cacheReinstalling without a lockfile.
npm
10.6s16x slower
pnpm 11
4.76s7.1x slower
pnpm 12
988ms1.5x slower
pnpm 12 + pnpr
707ms1.1x slower
pnpm 12 + global store
672ms
pnpm 12 hoisted
961ms1.4x slower
cache + lockfileReinstalling a project you already have.
npm
7.00s22x slower
pnpm 11
2.68s8.2x slower
pnpm 12
647ms2.0x slower
pnpm 12 + pnpr
656ms2.0x slower
pnpm 12 + global store
325ms
pnpm 12 hoisted
612ms1.9x slower
everything warmRunning install when nothing changed.
npm
1.03s57x slower
pnpm 11
597ms33x slower
pnpm 12
18ms
pnpm 12 + pnpr
18ms
pnpm 12 + global store
18ms
pnpm 12 hoisted
18ms
updateA dependency was bumped in package.json.
npm
3.60s3.7x slower
pnpm 11
4.39s4.5x slower
pnpm 12
994ms
pnpm 12 + pnpr
1.09s1.1x slower
pnpm 12 + global store
984ms
pnpm 12 hoisted
1.80s1.8x slower

Total across all scenarios

  1. pnpm 12 + pnpr9.02sfastest
  2. pnpm 12 + global store9.95s1.1x slower
  3. pnpm 1210.3s1.1x slower
  4. pnpm 12 hoisted11.4s1.3x slower
  5. pnpm 1126.1s2.9x slower
  6. npm1m 19s8.8x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-files — fastest run per scenario.
Scenarionpmv12.0.2pnpm 11v11.25.0pnpm 12v12.3.4pnpm 12 + pnprv12.3.4pnpm 12 + global storev12.3.4pnpm 12 hoistedv12.3.4
cleanA fresh clone. Nothing cached.45.5s8.79s4.38s3.31s4.64s4.54s
lockfileCI, first install.11.6s4.91s3.25s3.24s3.31s3.46s
cacheReinstalling without a lockfile.10.6s4.76s988ms707ms672ms961ms
cache + lockfileReinstalling a project you already have.7.00s2.68s647ms656ms325ms612ms
everything warmRunning install when nothing changed.1.03s597ms18ms18ms18ms18ms
updateA dependency was bumped in package.json.3.60s4.39s994ms1.09s984ms1.80s
Measured with npm 12.0.2 · pnpm 11 11.25.0 · pnpm 12 12.3.4 · pnpm 12 + pnpr 12.3.4 · pnpm 12 + global store 12.3.4 · pnpm 12 hoisted 12.3.4.

alotta-packages

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

6/6scenarios where pnpm beats npm
200xfaster than npm on “everything warm”
20mspnpm's best run — “everything warm”
cleanA fresh clone. Nothing cached.
npm
1m 50s12x slower
pnpm 11
25.5s2.9x slower
pnpm 12
13.7s1.5x slower
pnpm 12 + pnpr
8.93s
pnpm 12 + global store
15.0s1.7x slower
pnpm 12 hoisted
14.7s1.7x slower
cacheReinstalling without a lockfile.
npm
43.6s23x slower
pnpm 11
18.1s9.5x slower
pnpm 12
3.23s1.7x slower
pnpm 12 + pnpr
2.11s1.1x slower
pnpm 12 + global store
1.90s
pnpm 12 hoisted
3.32s1.7x slower
lockfileCI, first install.
npm
32.4s3.7x slower
pnpm 11
12.8s1.5x slower
pnpm 12
8.82s
pnpm 12 + pnpr
8.83s
pnpm 12 + global store
8.92s
pnpm 12 hoisted
10.2s1.2x slower
cache + lockfileReinstalling a project you already have.
npm
24.6s36x slower
pnpm 11
5.69s8.3x slower
pnpm 12
2.10s3.1x slower
pnpm 12 + pnpr
1.97s2.9x slower
pnpm 12 + global store
687ms
pnpm 12 hoisted
2.13s3.1x slower
everything warmRunning install when nothing changed.
npm
3.99s200x slower
pnpm 11
604ms30x slower
pnpm 12
20ms
pnpm 12 + pnpr
20ms
pnpm 12 + global store
20ms
pnpm 12 hoisted
20ms
updateA dependency was bumped in package.json.
npm
16.7s7.7x slower
pnpm 11
14.9s6.9x slower
pnpm 12
3.30s1.5x slower
pnpm 12 + pnpr
2.17s
pnpm 12 + global store
3.27s1.5x slower
pnpm 12 hoisted
6.47s3.0x slower

Total across all scenarios

  1. pnpm 12 + pnpr24.0sfastest
  2. pnpm 12 + global store29.8s1.2x slower
  3. pnpm 1231.1s1.3x slower
  4. pnpm 12 hoisted36.9s1.5x slower
  5. pnpm 111m 18s3.2x slower
  6. npm3m 52s9.6x slower

All 6 scenarios added up.

Exact numbers

Install Speed on alotta-packages — fastest run per scenario.
Scenarionpmv12.0.2pnpm 11v11.25.0pnpm 12v12.3.4pnpm 12 + pnprv12.3.4pnpm 12 + global storev12.3.4pnpm 12 hoistedv12.3.4
cleanA fresh clone. Nothing cached.1m 50s25.5s13.7s8.93s15.0s14.7s
cacheReinstalling without a lockfile.43.6s18.1s3.23s2.11s1.90s3.32s
lockfileCI, first install.32.4s12.8s8.82s8.83s8.92s10.2s
cache + lockfileReinstalling a project you already have.24.6s5.69s2.10s1.97s687ms2.13s
everything warmRunning install when nothing changed.3.99s604ms20ms20ms20ms20ms
updateA dependency was bumped in package.json.16.7s14.9s3.30s2.17s3.27s6.47s
Measured with npm 12.0.2 · pnpm 11 11.25.0 · pnpm 12 12.3.4 · pnpm 12 + pnpr 12.3.4 · pnpm 12 + global store 12.3.4 · pnpm 12 hoisted 12.3.4.
  • 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.11s
fnm
2.98s2.7x slower
nvm
3.15s2.8x slower
install (warm store)Install a version you had before.
pnpm
156ms
fnm
2.95s19x slower
nvm
2.88s18x slower
run in projectRun node in a project pinned to Node.js 22.
pnpm
6ms1.3x slower
fnm
5ms
nvm
93ms19x slower

Total across all scenarios

  1. pnpm1.27sfastest
  2. fnm5.94s4.7x slower
  3. nvm6.12s4.8x slower

All 3 scenarios added up.

Exact numbers

Node.js Version Management — fastest run per scenario.
Scenariopnpmv12.3.4fnmv1.39.0nvmv0.40.7
install (clean)Install Node.js 24, nothing cached.1.11s2.98s3.15s
install (warm store)Install a version you had before.156ms2.95s2.88s
run in projectRun node in a project pinned to Node.js 22.6ms5ms93ms
Measured with pnpm 12.3.4 · fnm 1.39.0 · nvm 0.40.7.
  • 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.