diff --git a/benchmarks/results/npm/10.5.0/alotta-files.yaml b/benchmarks/results/npm/10.5.0/alotta-files.yaml index 201449868633..d2b51a4fb428 100644 --- a/benchmarks/results/npm/10.5.0/alotta-files.yaml +++ b/benchmarks/results/npm/10.5.0/alotta-files.yaml @@ -187,3 +187,30 @@ withWarmModulesAndLockfile: 1545 withWarmModules: 1789 updatedDependencies: 8080 +- firstInstall: 52004 + repeatInstall: 1581 + withWarmCacheAndLockfile: 8170 + withWarmCache: 13363 + withLockfile: 16762 + withWarmCacheAndModules: 1823 + withWarmModulesAndLockfile: 1583 + withWarmModules: 1820 + updatedDependencies: 7322 +- firstInstall: 44554 + repeatInstall: 1639 + withWarmCacheAndLockfile: 8529 + withWarmCache: 14110 + withLockfile: 17728 + withWarmCacheAndModules: 1964 + withWarmModulesAndLockfile: 1621 + withWarmModules: 1895 + updatedDependencies: 11739 +- firstInstall: 42227 + repeatInstall: 1605 + withWarmCacheAndLockfile: 8354 + withWarmCache: 13747 + withLockfile: 17238 + withWarmCacheAndModules: 1872 + withWarmModulesAndLockfile: 1562 + withWarmModules: 1857 + updatedDependencies: 7942 diff --git a/benchmarks/results/pnpm/9.0.0-beta.0/alotta-files.yaml b/benchmarks/results/pnpm/9.0.0-beta.0/alotta-files.yaml index 76bc1a2c72f4..eda90b126948 100644 --- a/benchmarks/results/pnpm/9.0.0-beta.0/alotta-files.yaml +++ b/benchmarks/results/pnpm/9.0.0-beta.0/alotta-files.yaml @@ -25,3 +25,30 @@ withWarmModulesAndLockfile: 1082 withWarmModules: 6064 updatedDependencies: 3779 +- firstInstall: 9284 + repeatInstall: 1097 + withWarmCacheAndLockfile: 2724 + withWarmCache: 6219 + withLockfile: 5655 + withWarmCacheAndModules: 2334 + withWarmModulesAndLockfile: 1150 + withWarmModules: 5811 + updatedDependencies: 4015 +- firstInstall: 8836 + repeatInstall: 1122 + withWarmCacheAndLockfile: 2719 + withWarmCache: 6284 + withLockfile: 5484 + withWarmCacheAndModules: 2240 + withWarmModulesAndLockfile: 1106 + withWarmModules: 5514 + updatedDependencies: 3973 +- firstInstall: 8796 + repeatInstall: 1108 + withWarmCacheAndLockfile: 2753 + withWarmCache: 6172 + withLockfile: 5671 + withWarmCacheAndModules: 2277 + withWarmModulesAndLockfile: 1131 + withWarmModules: 5524 + updatedDependencies: 4077 diff --git a/benchmarks/results/yarn/4.1.1/alotta-files.yaml b/benchmarks/results/yarn/4.1.1/alotta-files.yaml index b257af3c9e84..2355d2c58655 100644 --- a/benchmarks/results/yarn/4.1.1/alotta-files.yaml +++ b/benchmarks/results/yarn/4.1.1/alotta-files.yaml @@ -160,3 +160,30 @@ withWarmModulesAndLockfile: 5358 withWarmModules: 7365 updatedDependencies: 6191 +- firstInstall: 16259 + repeatInstall: 5381 + withWarmCacheAndLockfile: 5578 + withWarmCache: 7552 + withLockfile: 5755 + withWarmCacheAndModules: 7503 + withWarmModulesAndLockfile: 5482 + withWarmModules: 7735 + updatedDependencies: 6965 +- firstInstall: 7698 + repeatInstall: 5631 + withWarmCacheAndLockfile: 5764 + withWarmCache: 8001 + withLockfile: 5955 + withWarmCacheAndModules: 7779 + withWarmModulesAndLockfile: 5706 + withWarmModules: 7668 + updatedDependencies: 6425 +- firstInstall: 7605 + repeatInstall: 5509 + withWarmCacheAndLockfile: 5755 + withWarmCache: 7820 + withLockfile: 5819 + withWarmCacheAndModules: 7641 + withWarmModulesAndLockfile: 5584 + withWarmModules: 7658 + updatedDependencies: 6316 diff --git a/benchmarks/results/yarn_pnp/4.1.1/alotta-files.yaml b/benchmarks/results/yarn_pnp/4.1.1/alotta-files.yaml index a06b9908e28d..6bbd06ea6e7d 100644 --- a/benchmarks/results/yarn_pnp/4.1.1/alotta-files.yaml +++ b/benchmarks/results/yarn_pnp/4.1.1/alotta-files.yaml @@ -160,3 +160,30 @@ withWarmModulesAndLockfile: 0 withWarmModules: 0 updatedDependencies: 3167 +- firstInstall: 3820 + repeatInstall: 0 + withWarmCacheAndLockfile: 1502 + withWarmCache: 3146 + withLockfile: 1512 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3406 +- firstInstall: 4007 + repeatInstall: 0 + withWarmCacheAndLockfile: 1546 + withWarmCache: 3281 + withLockfile: 1535 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3597 +- firstInstall: 3832 + repeatInstall: 0 + withWarmCacheAndLockfile: 1522 + withWarmCache: 3312 + withLockfile: 1520 + withWarmCacheAndModules: 0 + withWarmModulesAndLockfile: 0 + withWarmModules: 0 + updatedDependencies: 3385 diff --git a/src/pages/benchmarks.md b/src/pages/benchmarks.md index ecdd9dd02f6c..16a51193583a 100644 --- a/src/pages/benchmarks.md +++ b/src/pages/benchmarks.md @@ -1,6 +1,6 @@ # Benchmarks of JavaScript Package Managers -**Last benchmarked at**: _Mar 24, 2024, 10:38 AM_ (_daily_ updated). +**Last benchmarked at**: _Mar 26, 2024, 12:30 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 | | | | 38.1s | 9.5s | 7.3s | 3.6s | +| install | | | | 38.1s | 8.7s | 7.3s | 3.6s | | install | ✔ | ✔ | ✔ | 1.5s | 1s | 5.2s | n/a | | install | ✔ | ✔ | | 8.1s | 2.6s | 5.4s | 1.4s | -| install | ✔ | | | 13.1s | 6.3s | 7.3s | 3s | -| install | | ✔ | | 16.4s | 5.8s | 5.4s | 1.4s | +| install | ✔ | | | 13.1s | 6.1s | 7.3s | 3s | +| install | | ✔ | | 16.4s | 5.4s | 5.4s | 1.4s | | install | ✔ | | ✔ | 1.7s | 2.2s | 7s | n/a | | install | | ✔ | ✔ | 1.5s | 1s | 5.2s | n/a | -| install | | | ✔ | 1.7s | 5.8s | 6.9s | n/a | -| update | n/a | n/a | n/a | 7.4s | 3.6s | 5.8s | 3s | +| install | | | ✔ | 1.7s | 5.5s | 6.9s | n/a | +| update | n/a | n/a | n/a | 7.3s | 3.6s | 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 bef0f3824f42..8d2342cfc4fd 100644 --- a/static/img/benchmarks/alotta-files.svg +++ b/static/img/benchmarks/alotta-files.svg @@ -40,7 +40,7 @@ 40 Installation time in seconds (lower is better) - + @@ -56,7 +56,7 @@ - + @@ -68,7 +68,7 @@ - + @@ -90,5 +90,5 @@ with lockfile with node_modules update - Tests were run using Node.js v20.11.1 at: Mar 24, 2024, 10:38 AM + Tests were run using Node.js v20.11.1 at: Mar 26, 2024, 12:30 AM