From fcb5591e7fb1c570c470e1fe160e278859970afd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Dec 2024 03:00:44 +0000 Subject: [PATCH] chore: update benchmarks --- .../results/npm/11.0.0/alotta-files.yaml | 27 +++++++++++++++++++ .../pnpm/10.0.0-rc.2/alotta-files.yaml | 27 +++++++++++++++++++ .../results/yarn/4.5.3/alotta-files.yaml | 27 +++++++++++++++++++ .../results/yarn_pnp/4.5.3/alotta-files.yaml | 27 +++++++++++++++++++ src/pages/benchmarks.md | 18 ++++++------- static/img/benchmarks/alotta-files.svg | 8 +++--- 6 files changed, 121 insertions(+), 13 deletions(-) create mode 100644 benchmarks/results/pnpm/10.0.0-rc.2/alotta-files.yaml diff --git a/benchmarks/results/npm/11.0.0/alotta-files.yaml b/benchmarks/results/npm/11.0.0/alotta-files.yaml index 6163794f735b..3dfc8b9a1d6c 100644 --- a/benchmarks/results/npm/11.0.0/alotta-files.yaml +++ b/benchmarks/results/npm/11.0.0/alotta-files.yaml @@ -25,3 +25,30 @@ withWarmModulesAndLockfile: 1353 withWarmModules: 1635 updatedDependencies: 6657 +- firstInstall: 37519 + repeatInstall: 1460 + withWarmCacheAndLockfile: 8153 + withWarmCache: 12186 + withLockfile: 11065 + withWarmCacheAndModules: 1690 + withWarmModulesAndLockfile: 1370 + withWarmModules: 1684 + updatedDependencies: 8157 +- firstInstall: 29363 + repeatInstall: 1446 + withWarmCacheAndLockfile: 8153 + withWarmCache: 12337 + withLockfile: 10913 + withWarmCacheAndModules: 1656 + withWarmModulesAndLockfile: 1379 + withWarmModules: 1715 + updatedDependencies: 7224 +- firstInstall: 33306 + repeatInstall: 1458 + withWarmCacheAndLockfile: 8084 + withWarmCache: 12318 + withLockfile: 10926 + withWarmCacheAndModules: 1720 + withWarmModulesAndLockfile: 1388 + withWarmModules: 1681 + updatedDependencies: 6661 diff --git a/benchmarks/results/pnpm/10.0.0-rc.2/alotta-files.yaml b/benchmarks/results/pnpm/10.0.0-rc.2/alotta-files.yaml new file mode 100644 index 000000000000..5ef0d9704a4c --- /dev/null +++ b/benchmarks/results/pnpm/10.0.0-rc.2/alotta-files.yaml @@ -0,0 +1,27 @@ +- firstInstall: 8742 + repeatInstall: 378 + withWarmCacheAndLockfile: 2587 + withWarmCache: 5613 + withLockfile: 5178 + withWarmCacheAndModules: 2213 + withWarmModulesAndLockfile: 377 + withWarmModules: 5627 + updatedDependencies: 3920 +- firstInstall: 8019 + repeatInstall: 381 + withWarmCacheAndLockfile: 2545 + withWarmCache: 5736 + withLockfile: 5131 + withWarmCacheAndModules: 2244 + withWarmModulesAndLockfile: 378 + withWarmModules: 5173 + updatedDependencies: 3468 +- firstInstall: 8810 + repeatInstall: 383 + withWarmCacheAndLockfile: 2547 + withWarmCache: 5620 + withLockfile: 5226 + withWarmCacheAndModules: 2238 + withWarmModulesAndLockfile: 390 + withWarmModules: 5464 + updatedDependencies: 3894 diff --git a/benchmarks/results/yarn/4.5.3/alotta-files.yaml b/benchmarks/results/yarn/4.5.3/alotta-files.yaml index 24c9cd3c64f5..1bdf7016a663 100644 --- a/benchmarks/results/yarn/4.5.3/alotta-files.yaml +++ b/benchmarks/results/yarn/4.5.3/alotta-files.yaml @@ -214,3 +214,30 @@ withWarmModulesAndLockfile: 5126 withWarmModules: 9103 updatedDependencies: 6139 +- firstInstall: 16352 + repeatInstall: 5242 + withWarmCacheAndLockfile: 5356 + withWarmCache: 9588 + withLockfile: 5499 + withWarmCacheAndModules: 9451 + withWarmModulesAndLockfile: 5186 + withWarmModules: 9319 + updatedDependencies: 7263 +- firstInstall: 9604 + repeatInstall: 5190 + withWarmCacheAndLockfile: 5336 + withWarmCache: 9685 + withLockfile: 5413 + withWarmCacheAndModules: 9320 + withWarmModulesAndLockfile: 5242 + withWarmModules: 9313 + updatedDependencies: 6301 +- firstInstall: 9561 + repeatInstall: 5173 + withWarmCacheAndLockfile: 5376 + withWarmCache: 9669 + withLockfile: 5397 + withWarmCacheAndModules: 9353 + withWarmModulesAndLockfile: 5187 + withWarmModules: 9364 + updatedDependencies: 6367 diff --git a/benchmarks/results/yarn_pnp/4.5.3/alotta-files.yaml b/benchmarks/results/yarn_pnp/4.5.3/alotta-files.yaml index 781c74ccef43..7db1929c3684 100644 --- a/benchmarks/results/yarn_pnp/4.5.3/alotta-files.yaml +++ b/benchmarks/results/yarn_pnp/4.5.3/alotta-files.yaml @@ -214,3 +214,30 @@ withWarmModulesAndLockfile: 0 withWarmModules: 0 updatedDependencies: 5119 +- firstInstall: 5875 + repeatInstall: 0 + withWarmCacheAndLockfile: 1362 + withWarmCache: 5294 + withLockfile: 1363 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 5319 +- firstInstall: 5788 + repeatInstall: 0 + withWarmCacheAndLockfile: 1370 + withWarmCache: 5353 + withLockfile: 1360 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 5243 +- firstInstall: 5783 + repeatInstall: 0 + withWarmCacheAndLockfile: 1370 + withWarmCache: 5292 + withLockfile: 1347 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 5273 diff --git a/src/pages/benchmarks.md b/src/pages/benchmarks.md index 1ca5bb94360d..d5e3b6ed331a 100644 --- a/src/pages/benchmarks.md +++ b/src/pages/benchmarks.md @@ -1,6 +1,6 @@ # Benchmarks of JavaScript Package Managers -**Last benchmarked at**: _Dec 22, 2024, 3:12 AM_ (_daily_ updated). +**Last benchmarked at**: _Dec 29, 2024, 2:57 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). @@ -23,13 +23,13 @@ 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 | | | | 29.3s | 8s | 7.1s | 3.4s | -| install | ✔ | ✔ | ✔ | 1.4s | 371ms | 5s | n/a | -| install | ✔ | ✔ | | 7.9s | 2.4s | 5.2s | 1.3s | -| install | ✔ | | | 11.9s | 5.5s | 7s | 2.8s | -| install | | ✔ | | 10.6s | 5s | 5.2s | 1.3s | -| install | ✔ | | ✔ | 1.6s | 2.1s | 6.8s | n/a | -| install | | ✔ | ✔ | 1.3s | 375ms | 5s | n/a | -| install | | | ✔ | 1.6s | 5s | 6.7s | n/a | -| update | n/a | n/a | n/a | 6.2s | 3.6s | 5.6s | 2.9s | +| install | ✔ | ✔ | ✔ | 1.4s | 378ms | 5s | n/a | +| install | ✔ | ✔ | | 7.9s | 2.5s | 5.2s | 1.3s | +| install | ✔ | | | 11.9s | 5.6s | 7s | 2.8s | +| install | | ✔ | | 10.6s | 5.1s | 5.2s | 1.3s | +| install | ✔ | | ✔ | 1.6s | 2.2s | 6.8s | n/a | +| install | | ✔ | ✔ | 1.3s | 377ms | 5s | n/a | +| install | | | ✔ | 1.6s | 5.1s | 6.7s | n/a | +| update | n/a | n/a | n/a | 6.2s | 3.4s | 5.6s | 2.9s | 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 21d197a79963..8a2a20aeac49 100644 --- a/static/img/benchmarks/alotta-files.svg +++ b/static/img/benchmarks/alotta-files.svg @@ -14,7 +14,7 @@ v11.0.0 pnpm - v10.0.0-rc.0 + v10.0.0-rc.2 Yarn v4.5.3 @@ -68,11 +68,11 @@ - + - + @@ -90,5 +90,5 @@ with lockfile with node_modules update - Tests were run using Node.js v22.12.0 at: Dec 22, 2024, 3:12 AM + Tests were run using Node.js v22.12.0 at: Dec 29, 2024, 2:57 AM