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 Nov 3, 2024
1 parent de38c72 commit bada58c
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 17 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/10.9.0/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/9.12.3/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -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
27 changes: 27 additions & 0 deletions benchmarks/results/yarn/4.5.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
27 changes: 27 additions & 0 deletions benchmarks/results/yarn_pnp/4.5.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 8 additions & 8 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 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).

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 | | | | 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 |

<img alt="Graph of the alotta-files results" src="/img/benchmarks/alotta-files.svg" />
18 changes: 9 additions & 9 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 bada58c

Please sign in to comment.