From bfc7e2080be680645fb9605b7f115259f64a85e1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 2 Jun 2024 02:57:31 +0000 Subject: [PATCH] chore: update benchmarks --- .../results/npm/10.8.1/alotta-files.yaml | 27 +++++++++++++++++++ .../results/pnpm/9.1.4/alotta-files.yaml | 27 +++++++++++++++++++ .../results/yarn/4.2.2/alotta-files.yaml | 27 +++++++++++++++++++ .../results/yarn_pnp/4.2.2/alotta-files.yaml | 27 +++++++++++++++++++ src/pages/benchmarks.md | 4 +-- static/img/benchmarks/alotta-files.svg | 4 +-- 6 files changed, 112 insertions(+), 4 deletions(-) diff --git a/benchmarks/results/npm/10.8.1/alotta-files.yaml b/benchmarks/results/npm/10.8.1/alotta-files.yaml index 1cc326dfbc6b..f32db3921964 100644 --- a/benchmarks/results/npm/10.8.1/alotta-files.yaml +++ b/benchmarks/results/npm/10.8.1/alotta-files.yaml @@ -106,3 +106,30 @@ withWarmModulesAndLockfile: 1504 withWarmModules: 1783 updatedDependencies: 7353 +- firstInstall: 48673 + repeatInstall: 1601 + withWarmCacheAndLockfile: 7936 + withWarmCache: 13189 + withLockfile: 11863 + withWarmCacheAndModules: 1804 + withWarmModulesAndLockfile: 1565 + withWarmModules: 1806 + updatedDependencies: 7723 +- firstInstall: 40096 + repeatInstall: 1601 + withWarmCacheAndLockfile: 7926 + withWarmCache: 13169 + withLockfile: 11960 + withWarmCacheAndModules: 1830 + withWarmModulesAndLockfile: 1514 + withWarmModules: 1811 + updatedDependencies: 9941 +- firstInstall: 37467 + repeatInstall: 1542 + withWarmCacheAndLockfile: 7921 + withWarmCache: 13274 + withLockfile: 12171 + withWarmCacheAndModules: 1795 + withWarmModulesAndLockfile: 1497 + withWarmModules: 1850 + updatedDependencies: 8685 diff --git a/benchmarks/results/pnpm/9.1.4/alotta-files.yaml b/benchmarks/results/pnpm/9.1.4/alotta-files.yaml index 7f69e9d95972..c7c348494b23 100644 --- a/benchmarks/results/pnpm/9.1.4/alotta-files.yaml +++ b/benchmarks/results/pnpm/9.1.4/alotta-files.yaml @@ -106,3 +106,30 @@ withWarmModulesAndLockfile: 1108 withWarmModules: 5720 updatedDependencies: 3855 +- firstInstall: 10200 + repeatInstall: 1110 + withWarmCacheAndLockfile: 2693 + withWarmCache: 6681 + withLockfile: 5775 + withWarmCacheAndModules: 2476 + withWarmModulesAndLockfile: 1144 + withWarmModules: 6200 + updatedDependencies: 4410 +- firstInstall: 9651 + repeatInstall: 1133 + withWarmCacheAndLockfile: 2757 + withWarmCache: 6447 + withLockfile: 5761 + withWarmCacheAndModules: 2781 + withWarmModulesAndLockfile: 1137 + withWarmModules: 5962 + updatedDependencies: 3966 +- firstInstall: 9983 + repeatInstall: 1093 + withWarmCacheAndLockfile: 2726 + withWarmCache: 6504 + withLockfile: 5804 + withWarmCacheAndModules: 2603 + withWarmModulesAndLockfile: 1167 + withWarmModules: 5971 + updatedDependencies: 3954 diff --git a/benchmarks/results/yarn/4.2.2/alotta-files.yaml b/benchmarks/results/yarn/4.2.2/alotta-files.yaml index b12f2b6c210e..cc8063369931 100644 --- a/benchmarks/results/yarn/4.2.2/alotta-files.yaml +++ b/benchmarks/results/yarn/4.2.2/alotta-files.yaml @@ -214,3 +214,30 @@ withWarmModulesAndLockfile: 5157 withWarmModules: 6944 updatedDependencies: 5910 +- firstInstall: 16211 + repeatInstall: 5130 + withWarmCacheAndLockfile: 5408 + withWarmCache: 7393 + withLockfile: 5518 + withWarmCacheAndModules: 7146 + withWarmModulesAndLockfile: 5204 + withWarmModules: 6891 + updatedDependencies: 6955 +- firstInstall: 7464 + repeatInstall: 5229 + withWarmCacheAndLockfile: 5485 + withWarmCache: 7470 + withLockfile: 5515 + withWarmCacheAndModules: 7413 + withWarmModulesAndLockfile: 5183 + withWarmModules: 6989 + updatedDependencies: 6218 +- firstInstall: 7468 + repeatInstall: 5242 + withWarmCacheAndLockfile: 5420 + withWarmCache: 7371 + withLockfile: 5499 + withWarmCacheAndModules: 7052 + withWarmModulesAndLockfile: 5232 + withWarmModules: 7083 + updatedDependencies: 6085 diff --git a/benchmarks/results/yarn_pnp/4.2.2/alotta-files.yaml b/benchmarks/results/yarn_pnp/4.2.2/alotta-files.yaml index a1931628a9fb..c2b20b591369 100644 --- a/benchmarks/results/yarn_pnp/4.2.2/alotta-files.yaml +++ b/benchmarks/results/yarn_pnp/4.2.2/alotta-files.yaml @@ -214,3 +214,30 @@ withWarmModulesAndLockfile: 0 withWarmModules: 0 updatedDependencies: 3090 +- firstInstall: 3824 + repeatInstall: 0 + withWarmCacheAndLockfile: 1400 + withWarmCache: 3058 + withLockfile: 1376 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3107 +- firstInstall: 3712 + repeatInstall: 0 + withWarmCacheAndLockfile: 1401 + withWarmCache: 3276 + withLockfile: 1403 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3187 +- firstInstall: 3925 + repeatInstall: 0 + withWarmCacheAndLockfile: 1404 + withWarmCache: 3131 + withLockfile: 1403 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3244 diff --git a/src/pages/benchmarks.md b/src/pages/benchmarks.md index 572d967615b6..cb2c2f238ce0 100644 --- a/src/pages/benchmarks.md +++ b/src/pages/benchmarks.md @@ -1,6 +1,6 @@ # Benchmarks of JavaScript Package Managers -**Last benchmarked at**: _May 30, 2024, 11:33 PM_ (_daily_ updated). +**Last benchmarked at**: _Jun 2, 2024, 2:53 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,7 +22,7 @@ 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 | | | | 37.9s | 9.3s | 7.1s | 3.5s | +| install | | | | 37.4s | 9.3s | 7.1s | 3.5s | | install | ✔ | ✔ | ✔ | 1.5s | 1s | 5.1s | n/a | | install | ✔ | ✔ | | 7.8s | 2.6s | 5.2s | 1.3s | | install | ✔ | | | 12.9s | 6.1s | 7s | 2.8s | diff --git a/static/img/benchmarks/alotta-files.svg b/static/img/benchmarks/alotta-files.svg index 2b9aa2a5ef53..a8e817899463 100644 --- a/static/img/benchmarks/alotta-files.svg +++ b/static/img/benchmarks/alotta-files.svg @@ -39,7 +39,7 @@ 40 40 Installation time in seconds (lower is better) - + @@ -90,5 +90,5 @@ with lockfile with node_modules update - Tests were run using Node.js v20.13.1 at: May 30, 2024, 11:33 PM + Tests were run using Node.js v20.13.1 at: Jun 2, 2024, 2:53 AM