Home

Awesome

The benchmarks are now available on the pnpm website.

The code that generates the benchmarks was moved here.


Benchmarks of JavaScript Package Managers

This benchmark compares the performance of npm, pnpm and Yarn (both regular and PnP variant).

Here's a quick explanation of how these tests could apply to the real world:

Lots of Files

The app's package.json here

actioncachelockfilenode_modulesnpmpnpmYarnYarn PnP
install51s14.4s39.1s29.1s
install5.4s1.3s707msn/a
install10.9s3.9s11s1.8s
install33.4s6.5s26.5s17.2s
install28.3s11.8s23.3s14.2s
install4.6s1.7s22.1sn/a
install6.5s1.3s713msn/a
install6.1s5.4s41.1sn/a
updaten/an/an/a5.1s10.7s35.4s28.3s

Graph of the alotta-files results