From 4d104bc545c6f9978bc9c94867fc2cb382ea42f0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 8 Sep 2024 03:09:37 +0000 Subject: [PATCH] chore: update benchmarks --- .../results/npm/10.8.3/alotta-files.yaml | 27 ++++++ .../results/pnpm/9.9.0/alotta-files.yaml | 27 ++++++ .../results/yarn/4.4.1/alotta-files.yaml | 27 ++++++ .../results/yarn_pnp/4.4.1/alotta-files.yaml | 27 ++++++ src/pages/benchmarks.md | 8 +- static/img/benchmarks/alotta-files.svg | 86 +++++++++---------- 6 files changed, 155 insertions(+), 47 deletions(-) diff --git a/benchmarks/results/npm/10.8.3/alotta-files.yaml b/benchmarks/results/npm/10.8.3/alotta-files.yaml index 637feb34417b..45b5b4d39282 100644 --- a/benchmarks/results/npm/10.8.3/alotta-files.yaml +++ b/benchmarks/results/npm/10.8.3/alotta-files.yaml @@ -25,3 +25,30 @@ withWarmModulesAndLockfile: 1481 withWarmModules: 1792 updatedDependencies: 7861 +- firstInstall: 46800 + repeatInstall: 1674 + withWarmCacheAndLockfile: 8158 + withWarmCache: 13211 + withLockfile: 12192 + withWarmCacheAndModules: 1890 + withWarmModulesAndLockfile: 1604 + withWarmModules: 1868 + updatedDependencies: 9058 +- firstInstall: 33889 + repeatInstall: 1607 + withWarmCacheAndLockfile: 8103 + withWarmCache: 13531 + withLockfile: 12528 + withWarmCacheAndModules: 1802 + withWarmModulesAndLockfile: 1587 + withWarmModules: 1841 + updatedDependencies: 9794 +- firstInstall: 34234 + repeatInstall: 1550 + withWarmCacheAndLockfile: 8096 + withWarmCache: 13848 + withLockfile: 12535 + withWarmCacheAndModules: 1848 + withWarmModulesAndLockfile: 1569 + withWarmModules: 1817 + updatedDependencies: 7690 diff --git a/benchmarks/results/pnpm/9.9.0/alotta-files.yaml b/benchmarks/results/pnpm/9.9.0/alotta-files.yaml index e736385c2360..a096042097fe 100644 --- a/benchmarks/results/pnpm/9.9.0/alotta-files.yaml +++ b/benchmarks/results/pnpm/9.9.0/alotta-files.yaml @@ -25,3 +25,30 @@ withWarmModulesAndLockfile: 1089 withWarmModules: 5888 updatedDependencies: 4138 +- firstInstall: 9705 + repeatInstall: 1072 + withWarmCacheAndLockfile: 2787 + withWarmCache: 6312 + withLockfile: 5650 + withWarmCacheAndModules: 2734 + withWarmModulesAndLockfile: 1164 + withWarmModules: 5925 + updatedDependencies: 4056 +- firstInstall: 8757 + repeatInstall: 1058 + withWarmCacheAndLockfile: 2756 + withWarmCache: 6260 + withLockfile: 5494 + withWarmCacheAndModules: 2562 + withWarmModulesAndLockfile: 1166 + withWarmModules: 5735 + updatedDependencies: 3855 +- firstInstall: 9468 + repeatInstall: 1103 + withWarmCacheAndLockfile: 2881 + withWarmCache: 6521 + withLockfile: 5513 + withWarmCacheAndModules: 2495 + withWarmModulesAndLockfile: 1102 + withWarmModules: 5710 + updatedDependencies: 3799 diff --git a/benchmarks/results/yarn/4.4.1/alotta-files.yaml b/benchmarks/results/yarn/4.4.1/alotta-files.yaml index 2da2083d5367..e7e307afb4b2 100644 --- a/benchmarks/results/yarn/4.4.1/alotta-files.yaml +++ b/benchmarks/results/yarn/4.4.1/alotta-files.yaml @@ -52,3 +52,30 @@ withWarmModulesAndLockfile: 5188 withWarmModules: 6915 updatedDependencies: 5917 +- firstInstall: 16689 + repeatInstall: 5387 + withWarmCacheAndLockfile: 5455 + withWarmCache: 7541 + withLockfile: 5573 + withWarmCacheAndModules: 7538 + withWarmModulesAndLockfile: 5629 + withWarmModules: 7421 + updatedDependencies: 7001 +- firstInstall: 7612 + repeatInstall: 5418 + withWarmCacheAndLockfile: 5502 + withWarmCache: 7543 + withLockfile: 5544 + withWarmCacheAndModules: 7318 + withWarmModulesAndLockfile: 5396 + withWarmModules: 7180 + updatedDependencies: 6079 +- firstInstall: 7762 + repeatInstall: 5509 + withWarmCacheAndLockfile: 5638 + withWarmCache: 7541 + withLockfile: 5682 + withWarmCacheAndModules: 7311 + withWarmModulesAndLockfile: 5341 + withWarmModules: 7244 + updatedDependencies: 5994 diff --git a/benchmarks/results/yarn_pnp/4.4.1/alotta-files.yaml b/benchmarks/results/yarn_pnp/4.4.1/alotta-files.yaml index 5dbb2bfaa948..950f65e52089 100644 --- a/benchmarks/results/yarn_pnp/4.4.1/alotta-files.yaml +++ b/benchmarks/results/yarn_pnp/4.4.1/alotta-files.yaml @@ -52,3 +52,30 @@ withWarmModulesAndLockfile: 0 withWarmModules: 0 updatedDependencies: 3231 +- firstInstall: 3632 + repeatInstall: 0 + withWarmCacheAndLockfile: 1455 + withWarmCache: 3138 + withLockfile: 1424 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3207 +- firstInstall: 3703 + repeatInstall: 0 + withWarmCacheAndLockfile: 1450 + withWarmCache: 3144 + withLockfile: 1462 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3530 +- firstInstall: 3662 + repeatInstall: 0 + withWarmCacheAndLockfile: 1435 + withWarmCache: 3197 + withLockfile: 1432 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3291 diff --git a/src/pages/benchmarks.md b/src/pages/benchmarks.md index fca4eaa0d977..df53d7ca8a15 100644 --- a/src/pages/benchmarks.md +++ b/src/pages/benchmarks.md @@ -1,6 +1,6 @@ # Benchmarks of JavaScript Package Managers -**Last benchmarked at**: _Sep 1, 2024, 3:11 AM_ (_daily_ updated). +**Last benchmarked at**: _Sep 8, 2024, 3:06 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 | | | | 37.5s | 9s | 7.1s | 3.5s | +| install | | | | 33.8s | 8.7s | 7.1s | 3.5s | | install | ✔ | ✔ | ✔ | 1.5s | 1s | 5.2s | n/a | | install | ✔ | ✔ | | 7.8s | 2.6s | 5.3s | 1.4s | | install | ✔ | | | 12.8s | 6.1s | 7.2s | 2.9s | -| install | | ✔ | | 11.9s | 5.5s | 5.4s | 1.3s | +| install | | ✔ | | 11.9s | 5.4s | 5.4s | 1.3s | | install | ✔ | | ✔ | 1.7s | 2.4s | 7s | n/a | | install | | ✔ | ✔ | 1.4s | 1s | 5.1s | n/a | | install | | | ✔ | 1.7s | 5.6s | 6.9s | n/a | -| update | n/a | n/a | n/a | 7.8s | 4s | 5.8s | 3s | +| update | n/a | n/a | n/a | 7.6s | 3.7s | 5.8s | 3s | 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 f33a6d9ec30a..677b2758a38b 100644 --- a/static/img/benchmarks/alotta-files.svg +++ b/static/img/benchmarks/alotta-files.svg @@ -24,57 +24,57 @@ 0 0 - 8 - 8 + 7 + 7 - 16 - 16 + 14 + 14 - 24 - 24 + 21 + 21 - 32 - 32 + 28 + 28 - 40 - 40 + 35 + 35 Installation time in seconds (lower is better) - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + - - - + + + - - - - + + + + clean install with cache @@ -90,5 +90,5 @@ with lockfile with node_modules update - Tests were run using Node.js v20.17.0 at: Sep 1, 2024, 3:11 AM + Tests were run using Node.js v20.17.0 at: Sep 8, 2024, 3:06 AM