diff --git a/benchmarks/results/npm/9.8.1/alotta-files.yaml b/benchmarks/results/npm/9.8.1/alotta-files.yaml index 9724eabc5c76..2941c11f3821 100644 --- a/benchmarks/results/npm/9.8.1/alotta-files.yaml +++ b/benchmarks/results/npm/9.8.1/alotta-files.yaml @@ -106,3 +106,30 @@ withWarmModulesAndLockfile: 2297 withWarmModules: 2793 updatedDependencies: 10698 +- firstInstall: 62686 + repeatInstall: 2067 + withWarmCacheAndLockfile: 9665 + withWarmCache: 13894 + withLockfile: 14320 + withWarmCacheAndModules: 2477 + withWarmModulesAndLockfile: 2025 + withWarmModules: 2439 + updatedDependencies: 8796 +- firstInstall: 61761 + repeatInstall: 2092 + withWarmCacheAndLockfile: 9247 + withWarmCache: 13849 + withLockfile: 14597 + withWarmCacheAndModules: 2432 + withWarmModulesAndLockfile: 2022 + withWarmModules: 2514 + updatedDependencies: 11912 +- firstInstall: 49709 + repeatInstall: 2230 + withWarmCacheAndLockfile: 9187 + withWarmCache: 14014 + withLockfile: 14604 + withWarmCacheAndModules: 2475 + withWarmModulesAndLockfile: 2040 + withWarmModules: 2431 + updatedDependencies: 10937 diff --git a/benchmarks/results/pnpm/8.6.12/alotta-files.yaml b/benchmarks/results/pnpm/8.6.12/alotta-files.yaml index 87902c649c9f..0e4391276916 100644 --- a/benchmarks/results/pnpm/8.6.12/alotta-files.yaml +++ b/benchmarks/results/pnpm/8.6.12/alotta-files.yaml @@ -25,3 +25,30 @@ withWarmModulesAndLockfile: 1655 withWarmModules: 15571 updatedDependencies: 8230 +- firstInstall: 17364 + repeatInstall: 1515 + withWarmCacheAndLockfile: 4700 + withWarmCache: 9047 + withLockfile: 14352 + withWarmCacheAndModules: 3582 + withWarmModulesAndLockfile: 1570 + withWarmModules: 13509 + updatedDependencies: 6862 +- firstInstall: 17106 + repeatInstall: 1514 + withWarmCacheAndLockfile: 4460 + withWarmCache: 8961 + withLockfile: 14191 + withWarmCacheAndModules: 3607 + withWarmModulesAndLockfile: 1549 + withWarmModules: 13712 + updatedDependencies: 7209 +- firstInstall: 17984 + repeatInstall: 1500 + withWarmCacheAndLockfile: 4642 + withWarmCache: 9101 + withLockfile: 14547 + withWarmCacheAndModules: 3560 + withWarmModulesAndLockfile: 1540 + withWarmModules: 13341 + updatedDependencies: 7139 diff --git a/src/pages/benchmarks.md b/src/pages/benchmarks.md index a70bd853485c..5650e525b5c9 100644 --- a/src/pages/benchmarks.md +++ b/src/pages/benchmarks.md @@ -1,6 +1,6 @@ # Benchmarks of JavaScript Package Managers -**Last benchmarked at**: _Aug 13, 2023, 2:43 AM_ (_daily_ updated). +**Last benchmarked at**: _Aug 20, 2023, 2:43 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.7s | 19.3s | 22.1s | 20.2s | -| install | ✔ | ✔ | ✔ | 2s | 1.6s | 695ms | n/a | -| install | ✔ | ✔ | | 8.9s | 5.1s | 8.8s | 668ms | +| install | | | | 37.7s | 17.1s | 22.1s | 20.2s | +| install | ✔ | ✔ | ✔ | 2s | 1.5s | 695ms | n/a | +| install | ✔ | ✔ | | 8.9s | 4.4s | 8.8s | 668ms | | install | ✔ | | | 13.7s | 8.6s | 22.8s | 15.2s | -| install | | ✔ | | 14.2s | 16.8s | 8.9s | 670ms | -| install | ✔ | | ✔ | 2.4s | 3.9s | 16s | n/a | -| install | | ✔ | ✔ | 2s | 1.6s | 681ms | n/a | -| install | | | ✔ | 2.3s | 15.2s | 16.6s | n/a | -| update | n/a | n/a | n/a | 8.9s | 8s | 8.7s | 16.9s | +| install | | ✔ | | 14.2s | 14.1s | 8.9s | 670ms | +| install | ✔ | | ✔ | 2.4s | 3.5s | 16s | n/a | +| install | | ✔ | ✔ | 2s | 1.5s | 681ms | n/a | +| install | | | ✔ | 2.3s | 13.3s | 16.6s | n/a | +| update | n/a | n/a | n/a | 8.7s | 6.8s | 8.7s | 16.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 9aa5c377b260..5dbc73dacd0a 100644 --- a/static/img/benchmarks/alotta-files.svg +++ b/static/img/benchmarks/alotta-files.svg @@ -40,15 +40,15 @@ 40 Installation time in seconds (lower is better) - + - + - + @@ -56,23 +56,23 @@ - + - + - + - + - - + + @@ -90,5 +90,5 @@ with lockfile with node_modules update - Tests were run using Node.js v16.20.1 at: Aug 13, 2023, 2:43 AM + Tests were run using Node.js v16.20.1 at: Aug 20, 2023, 2:43 AM