Skip to content

Commit

Permalink
chore: update benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 8, 2023
1 parent 1e6377c commit c4246fe
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 53 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/10.2.0/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 50524
repeatInstall: 4046
withWarmCacheAndLockfile: 15781
withWarmCache: 25398
withLockfile: 31253
withWarmCacheAndModules: 4575
withWarmModulesAndLockfile: 4064
withWarmModules: 4530
updatedDependencies: 13290
- firstInstall: 49624
repeatInstall: 4067
withWarmCacheAndLockfile: 15695
withWarmCache: 25347
withLockfile: 31730
withWarmCacheAndModules: 4756
withWarmModulesAndLockfile: 3815
withWarmModules: 4550
updatedDependencies: 13363
- firstInstall: 52052
repeatInstall: 4183
withWarmCacheAndLockfile: 15636
withWarmCache: 25357
withLockfile: 31724
withWarmCacheAndModules: 4475
withWarmModulesAndLockfile: 3972
withWarmModules: 4496
updatedDependencies: 13111
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/8.8.0/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1739
withWarmModules: 9504
updatedDependencies: 6751
- firstInstall: 19076
repeatInstall: 2399
withWarmCacheAndLockfile: 7112
withWarmCache: 13064
withLockfile: 14779
withWarmCacheAndModules: 5096
withWarmModulesAndLockfile: 2401
withWarmModules: 13550
updatedDependencies: 8620
- firstInstall: 19134
repeatInstall: 2363
withWarmCacheAndLockfile: 6944
withWarmCache: 12467
withLockfile: 14867
withWarmCacheAndModules: 5133
withWarmModulesAndLockfile: 2393
withWarmModules: 13606
updatedDependencies: 9020
- firstInstall: 19402
repeatInstall: 2329
withWarmCacheAndLockfile: 7037
withWarmCache: 12484
withLockfile: 14719
withWarmCacheAndModules: 5119
withWarmModulesAndLockfile: 2428
withWarmModules: 13777
updatedDependencies: 9152
20 changes: 10 additions & 10 deletions src/pages/benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Benchmarks of JavaScript Package Managers

**Last benchmarked at**: _Oct 1, 2023, 2:46 AM_ (_daily_ updated).
**Last benchmarked at**: _Oct 8, 2023, 2:46 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).

Expand All @@ -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 | | | | 34.3s | 13.9s | 22.1s | 20.2s |
| install |||| 2.5s | 1.7s | 695ms | n/a |
| install ||| | 9.5s | 4.8s | 8.8s | 668ms |
| install || | | 15.5s | 9.4s | 22.8s | 15.2s |
| install | || | 19.3s | 10.1s | 8.9s | 670ms |
| install || || 2.8s | 3.6s | 16s | n/a |
| install | ||| 2.5s | 1.7s | 681ms | n/a |
| install | | || 2.8s | 9.3s | 16.6s | n/a |
| update | n/a | n/a | n/a | 9.2s | 6.4s | 8.7s | 16.9s |
| install | | | | 49.6s | 13.9s | 22.1s | 20.2s |
| install |||| 4s | 1.7s | 695ms | n/a |
| install ||| | 15.6s | 4.8s | 8.8s | 668ms |
| install || | | 25.3s | 9.4s | 22.8s | 15.2s |
| install | || | 31.2s | 10.1s | 8.9s | 670ms |
| install || || 4.4s | 3.6s | 16s | n/a |
| install | ||| 3.8s | 1.7s | 681ms | n/a |
| install | | || 4.4s | 9.3s | 16.6s | n/a |
| update | n/a | n/a | n/a | 13.1s | 6.4s | 8.7s | 16.9s |

<img alt="Graph of the alotta-files results" src="/img/benchmarks/alotta-files.svg" />
86 changes: 43 additions & 43 deletions static/img/benchmarks/alotta-files.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c4246fe

Please sign in to comment.