diff --git a/benchmarks/results/npm/10.8.1/alotta-files.yaml b/benchmarks/results/npm/10.8.1/alotta-files.yaml index 4dd3c669f41e..5f40ee1479ae 100644 --- a/benchmarks/results/npm/10.8.1/alotta-files.yaml +++ b/benchmarks/results/npm/10.8.1/alotta-files.yaml @@ -214,3 +214,30 @@ withWarmModulesAndLockfile: 1525 withWarmModules: 1796 updatedDependencies: 7538 +- firstInstall: 47951 + repeatInstall: 1563 + withWarmCacheAndLockfile: 8018 + withWarmCache: 13347 + withLockfile: 12072 + withWarmCacheAndModules: 1831 + withWarmModulesAndLockfile: 1519 + withWarmModules: 1846 + updatedDependencies: 9040 +- firstInstall: 41202 + repeatInstall: 1567 + withWarmCacheAndLockfile: 8027 + withWarmCache: 13329 + withLockfile: 12120 + withWarmCacheAndModules: 1803 + withWarmModulesAndLockfile: 1511 + withWarmModules: 1826 + updatedDependencies: 11265 +- firstInstall: 41747 + repeatInstall: 1558 + withWarmCacheAndLockfile: 8006 + withWarmCache: 13224 + withLockfile: 12153 + withWarmCacheAndModules: 1815 + withWarmModulesAndLockfile: 1510 + withWarmModules: 1811 + updatedDependencies: 7972 diff --git a/benchmarks/results/pnpm/9.4.0/alotta-files.yaml b/benchmarks/results/pnpm/9.4.0/alotta-files.yaml new file mode 100644 index 000000000000..a12ff1d1304f --- /dev/null +++ b/benchmarks/results/pnpm/9.4.0/alotta-files.yaml @@ -0,0 +1,27 @@ +- firstInstall: 9904 + repeatInstall: 1102 + withWarmCacheAndLockfile: 2750 + withWarmCache: 6144 + withLockfile: 5559 + withWarmCacheAndModules: 2466 + withWarmModulesAndLockfile: 1115 + withWarmModules: 5937 + updatedDependencies: 4168 +- firstInstall: 9659 + repeatInstall: 1084 + withWarmCacheAndLockfile: 2735 + withWarmCache: 6566 + withLockfile: 5583 + withWarmCacheAndModules: 2475 + withWarmModulesAndLockfile: 1187 + withWarmModules: 5762 + updatedDependencies: 3840 +- firstInstall: 9151 + repeatInstall: 1098 + withWarmCacheAndLockfile: 2690 + withWarmCache: 6182 + withLockfile: 5518 + withWarmCacheAndModules: 2515 + withWarmModulesAndLockfile: 1107 + withWarmModules: 5771 + updatedDependencies: 4001 diff --git a/benchmarks/results/yarn/4.3.1/alotta-files.yaml b/benchmarks/results/yarn/4.3.1/alotta-files.yaml new file mode 100644 index 000000000000..4b57ff8f7d68 --- /dev/null +++ b/benchmarks/results/yarn/4.3.1/alotta-files.yaml @@ -0,0 +1,27 @@ +- firstInstall: 16362 + repeatInstall: 5279 + withWarmCacheAndLockfile: 5476 + withWarmCache: 7659 + withLockfile: 5594 + withWarmCacheAndModules: 7277 + withWarmModulesAndLockfile: 5217 + withWarmModules: 7131 + updatedDependencies: 7067 +- firstInstall: 8000 + repeatInstall: 5307 + withWarmCacheAndLockfile: 5448 + withWarmCache: 7370 + withLockfile: 5490 + withWarmCacheAndModules: 7249 + withWarmModulesAndLockfile: 5218 + withWarmModules: 7115 + updatedDependencies: 6042 +- firstInstall: 7350 + repeatInstall: 5329 + withWarmCacheAndLockfile: 5431 + withWarmCache: 7563 + withLockfile: 5492 + withWarmCacheAndModules: 7219 + withWarmModulesAndLockfile: 5218 + withWarmModules: 7177 + updatedDependencies: 5868 diff --git a/benchmarks/results/yarn_pnp/4.3.1/alotta-files.yaml b/benchmarks/results/yarn_pnp/4.3.1/alotta-files.yaml new file mode 100644 index 000000000000..4a77f5ef5fe3 --- /dev/null +++ b/benchmarks/results/yarn_pnp/4.3.1/alotta-files.yaml @@ -0,0 +1,27 @@ +- firstInstall: 3717 + repeatInstall: 0 + withWarmCacheAndLockfile: 1400 + withWarmCache: 3215 + withLockfile: 1394 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3235 +- firstInstall: 4084 + repeatInstall: 0 + withWarmCacheAndLockfile: 1405 + withWarmCache: 3138 + withLockfile: 1409 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3258 +- firstInstall: 3817 + repeatInstall: 0 + withWarmCacheAndLockfile: 1427 + withWarmCache: 3077 + withLockfile: 1421 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3129 diff --git a/src/pages/benchmarks.md b/src/pages/benchmarks.md index 09c139a292e2..65e593f5e16e 100644 --- a/src/pages/benchmarks.md +++ b/src/pages/benchmarks.md @@ -1,6 +1,6 @@ # Benchmarks of JavaScript Package Managers -**Last benchmarked at**: _Jun 16, 2024, 11:49 PM_ (_daily_ updated). +**Last benchmarked at**: _Jun 23, 2024, 2:54 AM_ (_daily_ updated). This benchmark compares the performance of npm, pnpm, Yarn Classic, and Yarn PnP (check [Yarn's benchmarks](https://yarnpkg.com/benchmarks) for any other Yarn modes that are not included here). @@ -22,14 +22,14 @@ The app's `package.json` [here](https://github.com/pnpm/pnpm.io/blob/main/benchm | action | cache | lockfile | node_modules| npm | pnpm | Yarn | Yarn PnP | | --- | --- | --- | --- | --- | --- | --- | --- | -| install | | | | 34.4s | 9.1s | 7.3s | 3.5s | -| install | ✔ | ✔ | ✔ | 1.5s | 1.1s | 5.1s | n/a | -| install | ✔ | ✔ | | 7.8s | 2.7s | 5.3s | 1.3s | -| install | ✔ | | | 12.9s | 6.2s | 7.3s | 2.9s | -| install | | ✔ | | 11.7s | 5.6s | 5.4s | 1.3s | -| install | ✔ | | ✔ | 1.7s | 2.4s | 6.9s | n/a | -| install | | ✔ | ✔ | 1.4s | 1.1s | 5.1s | n/a | -| install | | | ✔ | 1.7s | 5.6s | 6.9s | n/a | -| update | n/a | n/a | n/a | 7.1s | 3.8s | 5.8s | 3s | +| install | | | | 34.4s | 9.1s | 7.3s | 3.7s | +| install | ✔ | ✔ | ✔ | 1.5s | 1s | 5.2s | n/a | +| install | ✔ | ✔ | | 7.8s | 2.6s | 5.4s | 1.4s | +| install | ✔ | | | 12.9s | 6.1s | 7.3s | 3s | +| install | | ✔ | | 11.7s | 5.5s | 5.4s | 1.3s | +| install | ✔ | | ✔ | 1.7s | 2.4s | 7.2s | n/a | +| install | | ✔ | ✔ | 1.4s | 1.1s | 5.2s | n/a | +| install | | | ✔ | 1.7s | 5.7s | 7.1s | n/a | +| update | n/a | n/a | n/a | 7.1s | 3.8s | 5.8s | 3.1s | Graph of the alotta-files results \ No newline at end of file diff --git a/static/img/benchmarks/alotta-files.svg b/static/img/benchmarks/alotta-files.svg index e5a9ddfaa148..f00e53f6fb6c 100644 --- a/static/img/benchmarks/alotta-files.svg +++ b/static/img/benchmarks/alotta-files.svg @@ -14,13 +14,13 @@ v10.8.1 pnpm - v9.3.0 + v9.4.0 Yarn - v4.3.0 + v4.3.1 Yarn PnP - v4.3.0 + v4.3.1 0 0 @@ -40,28 +40,28 @@ 35 Installation time in seconds (lower is better) - - + + - + - + - - - + + + - + - + @@ -69,12 +69,12 @@ - + - - + + clean install with cache @@ -90,5 +90,5 @@ with lockfile with node_modules update - Tests were run using Node.js v20.14.0 at: Jun 16, 2024, 11:49 PM + Tests were run using Node.js v20.14.0 at: Jun 23, 2024, 2:54 AM