diff --git a/benchmarks/results/npm/10.9.0/alotta-files.yaml b/benchmarks/results/npm/10.9.0/alotta-files.yaml index ddb86279ad42..525727db4eff 100644 --- a/benchmarks/results/npm/10.9.0/alotta-files.yaml +++ b/benchmarks/results/npm/10.9.0/alotta-files.yaml @@ -106,3 +106,30 @@ withWarmModulesAndLockfile: 6771 withWarmModules: 7068 updatedDependencies: 27145 +- firstInstall: 65738 + repeatInstall: 6955 + withWarmCacheAndLockfile: 13301 + withWarmCache: 18465 + withLockfile: 17336 + withWarmCacheAndModules: 7116 + withWarmModulesAndLockfile: 6785 + withWarmModules: 7060 + updatedDependencies: 28123 +- firstInstall: 67514 + repeatInstall: 6862 + withWarmCacheAndLockfile: 13411 + withWarmCache: 18476 + withLockfile: 17421 + withWarmCacheAndModules: 7119 + withWarmModulesAndLockfile: 6810 + withWarmModules: 7065 + updatedDependencies: 32952 +- firstInstall: 68457 + repeatInstall: 6948 + withWarmCacheAndLockfile: 13477 + withWarmCache: 18597 + withLockfile: 17363 + withWarmCacheAndModules: 7133 + withWarmModulesAndLockfile: 6778 + withWarmModules: 7069 + updatedDependencies: 33727 diff --git a/benchmarks/results/pnpm/9.12.3/alotta-files.yaml b/benchmarks/results/pnpm/9.12.3/alotta-files.yaml new file mode 100644 index 000000000000..7e93a0cb5a8c --- /dev/null +++ b/benchmarks/results/pnpm/9.12.3/alotta-files.yaml @@ -0,0 +1,27 @@ +- firstInstall: 10967 + repeatInstall: 1056 + withWarmCacheAndLockfile: 2743 + withWarmCache: 6972 + withLockfile: 6135 + withWarmCacheAndModules: 2644 + withWarmModulesAndLockfile: 1113 + withWarmModules: 10108 + updatedDependencies: 3732 +- firstInstall: 11044 + repeatInstall: 1055 + withWarmCacheAndLockfile: 2732 + withWarmCache: 6652 + withLockfile: 6303 + withWarmCacheAndModules: 2654 + withWarmModulesAndLockfile: 1102 + withWarmModules: 10167 + updatedDependencies: 4156 +- firstInstall: 11037 + repeatInstall: 1066 + withWarmCacheAndLockfile: 2739 + withWarmCache: 6696 + withLockfile: 6129 + withWarmCacheAndModules: 2647 + withWarmModulesAndLockfile: 1076 + withWarmModules: 6494 + updatedDependencies: 3909 diff --git a/benchmarks/results/yarn/4.5.1/alotta-files.yaml b/benchmarks/results/yarn/4.5.1/alotta-files.yaml index 57fa518ea27b..51c2905587ab 100644 --- a/benchmarks/results/yarn/4.5.1/alotta-files.yaml +++ b/benchmarks/results/yarn/4.5.1/alotta-files.yaml @@ -52,3 +52,30 @@ withWarmModulesAndLockfile: 5277 withWarmModules: 7150 updatedDependencies: 6104 +- firstInstall: 16586 + repeatInstall: 5430 + withWarmCacheAndLockfile: 5609 + withWarmCache: 7452 + withLockfile: 5747 + withWarmCacheAndModules: 7233 + withWarmModulesAndLockfile: 5326 + withWarmModules: 7299 + updatedDependencies: 7087 +- firstInstall: 7541 + repeatInstall: 5323 + withWarmCacheAndLockfile: 5539 + withWarmCache: 7617 + withLockfile: 5630 + withWarmCacheAndModules: 7222 + withWarmModulesAndLockfile: 5367 + withWarmModules: 7309 + updatedDependencies: 6102 +- firstInstall: 7685 + repeatInstall: 5276 + withWarmCacheAndLockfile: 5480 + withWarmCache: 7460 + withLockfile: 5535 + withWarmCacheAndModules: 7234 + withWarmModulesAndLockfile: 5367 + withWarmModules: 7350 + updatedDependencies: 6202 diff --git a/benchmarks/results/yarn_pnp/4.5.1/alotta-files.yaml b/benchmarks/results/yarn_pnp/4.5.1/alotta-files.yaml index 24cfb2a12b03..3c7194e24792 100644 --- a/benchmarks/results/yarn_pnp/4.5.1/alotta-files.yaml +++ b/benchmarks/results/yarn_pnp/4.5.1/alotta-files.yaml @@ -52,3 +52,30 @@ withWarmModulesAndLockfile: 0 withWarmModules: 0 updatedDependencies: 3252 +- firstInstall: 3604 + repeatInstall: 0 + withWarmCacheAndLockfile: 1416 + withWarmCache: 3060 + withLockfile: 1408 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3221 +- firstInstall: 3661 + repeatInstall: 0 + withWarmCacheAndLockfile: 1403 + withWarmCache: 3286 + withLockfile: 1412 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3197 +- firstInstall: 3599 + repeatInstall: 0 + withWarmCacheAndLockfile: 1404 + withWarmCache: 3020 + withLockfile: 1400 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3261 diff --git a/src/pages/benchmarks.md b/src/pages/benchmarks.md index 343fe8a1c86f..7f4fe14be781 100644 --- a/src/pages/benchmarks.md +++ b/src/pages/benchmarks.md @@ -1,6 +1,6 @@ # Benchmarks of JavaScript Package Managers -**Last benchmarked at**: _Oct 27, 2024, 3:16 AM_ (_daily_ updated). +**Last benchmarked at**: _Nov 3, 2024, 3:17 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 | | | | 48.3s | 8.7s | 7.1s | 3.4s | +| install | | | | 48.3s | 10.9s | 7.1s | 3.4s | | install | ✔ | ✔ | ✔ | 6.8s | 1s | 5.2s | n/a | -| install | ✔ | ✔ | | 13.2s | 2.6s | 5.3s | 1.3s | -| install | ✔ | | | 18.3s | 6s | 7.2s | 3s | -| install | | ✔ | | 17.4s | 5.4s | 5.4s | 1.4s | -| install | ✔ | | ✔ | 7s | 2.4s | 7s | n/a | +| install | ✔ | ✔ | | 13.2s | 2.7s | 5.3s | 1.3s | +| install | ✔ | | | 18.3s | 6.6s | 7.2s | 3s | +| install | | ✔ | | 17.3s | 6.1s | 5.4s | 1.4s | +| install | ✔ | | ✔ | 7s | 2.6s | 7s | n/a | | install | | ✔ | ✔ | 6.7s | 1s | 5.2s | n/a | -| install | | | ✔ | 7s | 5.6s | 7s | n/a | -| update | n/a | n/a | n/a | 20.9s | 3.8s | 5.8s | 3s | +| install | | | ✔ | 7s | 6.4s | 7s | n/a | +| update | n/a | n/a | n/a | 20.9s | 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 4375a22f9d7b..a78dd8f20c85 100644 --- a/static/img/benchmarks/alotta-files.svg +++ b/static/img/benchmarks/alotta-files.svg @@ -14,7 +14,7 @@ v10.9.0 pnpm - v9.12.2 + v9.12.3 Yarn v4.5.1 @@ -40,27 +40,27 @@ 50 Installation time in seconds (lower is better) - + - + - + - + - + - + @@ -68,7 +68,7 @@ - + @@ -90,5 +90,5 @@ with lockfile with node_modules update - Tests were run using Node.js v20.18.0 at: Oct 27, 2024, 3:16 AM + Tests were run using Node.js v20.18.0 at: Nov 3, 2024, 3:17 AM