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 Dec 29, 2024
1 parent 60f6532 commit fcb5591
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 13 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/11.0.0/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1353
withWarmModules: 1635
updatedDependencies: 6657
- firstInstall: 37519
repeatInstall: 1460
withWarmCacheAndLockfile: 8153
withWarmCache: 12186
withLockfile: 11065
withWarmCacheAndModules: 1690
withWarmModulesAndLockfile: 1370
withWarmModules: 1684
updatedDependencies: 8157
- firstInstall: 29363
repeatInstall: 1446
withWarmCacheAndLockfile: 8153
withWarmCache: 12337
withLockfile: 10913
withWarmCacheAndModules: 1656
withWarmModulesAndLockfile: 1379
withWarmModules: 1715
updatedDependencies: 7224
- firstInstall: 33306
repeatInstall: 1458
withWarmCacheAndLockfile: 8084
withWarmCache: 12318
withLockfile: 10926
withWarmCacheAndModules: 1720
withWarmModulesAndLockfile: 1388
withWarmModules: 1681
updatedDependencies: 6661
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/10.0.0-rc.2/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 8742
repeatInstall: 378
withWarmCacheAndLockfile: 2587
withWarmCache: 5613
withLockfile: 5178
withWarmCacheAndModules: 2213
withWarmModulesAndLockfile: 377
withWarmModules: 5627
updatedDependencies: 3920
- firstInstall: 8019
repeatInstall: 381
withWarmCacheAndLockfile: 2545
withWarmCache: 5736
withLockfile: 5131
withWarmCacheAndModules: 2244
withWarmModulesAndLockfile: 378
withWarmModules: 5173
updatedDependencies: 3468
- firstInstall: 8810
repeatInstall: 383
withWarmCacheAndLockfile: 2547
withWarmCache: 5620
withLockfile: 5226
withWarmCacheAndModules: 2238
withWarmModulesAndLockfile: 390
withWarmModules: 5464
updatedDependencies: 3894
27 changes: 27 additions & 0 deletions benchmarks/results/yarn/4.5.3/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,30 @@
withWarmModulesAndLockfile: 5126
withWarmModules: 9103
updatedDependencies: 6139
- firstInstall: 16352
repeatInstall: 5242
withWarmCacheAndLockfile: 5356
withWarmCache: 9588
withLockfile: 5499
withWarmCacheAndModules: 9451
withWarmModulesAndLockfile: 5186
withWarmModules: 9319
updatedDependencies: 7263
- firstInstall: 9604
repeatInstall: 5190
withWarmCacheAndLockfile: 5336
withWarmCache: 9685
withLockfile: 5413
withWarmCacheAndModules: 9320
withWarmModulesAndLockfile: 5242
withWarmModules: 9313
updatedDependencies: 6301
- firstInstall: 9561
repeatInstall: 5173
withWarmCacheAndLockfile: 5376
withWarmCache: 9669
withLockfile: 5397
withWarmCacheAndModules: 9353
withWarmModulesAndLockfile: 5187
withWarmModules: 9364
updatedDependencies: 6367
27 changes: 27 additions & 0 deletions benchmarks/results/yarn_pnp/4.5.3/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 5119
- firstInstall: 5875
repeatInstall: 0
withWarmCacheAndLockfile: 1362
withWarmCache: 5294
withLockfile: 1363
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 5319
- firstInstall: 5788
repeatInstall: 0
withWarmCacheAndLockfile: 1370
withWarmCache: 5353
withLockfile: 1360
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 5243
- firstInstall: 5783
repeatInstall: 0
withWarmCacheAndLockfile: 1370
withWarmCache: 5292
withLockfile: 1347
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 5273
18 changes: 9 additions & 9 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**: _Dec 22, 2024, 3:12 AM_ (_daily_ updated).
**Last benchmarked at**: _Dec 29, 2024, 2:57 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 @@ -23,13 +23,13 @@ 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 | | | | 29.3s | 8s | 7.1s | 3.4s |
| install |||| 1.4s | 371ms | 5s | n/a |
| install ||| | 7.9s | 2.4s | 5.2s | 1.3s |
| install || | | 11.9s | 5.5s | 7s | 2.8s |
| install | || | 10.6s | 5s | 5.2s | 1.3s |
| install || || 1.6s | 2.1s | 6.8s | n/a |
| install | ||| 1.3s | 375ms | 5s | n/a |
| install | | || 1.6s | 5s | 6.7s | n/a |
| update | n/a | n/a | n/a | 6.2s | 3.6s | 5.6s | 2.9s |
| install |||| 1.4s | 378ms | 5s | n/a |
| install ||| | 7.9s | 2.5s | 5.2s | 1.3s |
| install || | | 11.9s | 5.6s | 7s | 2.8s |
| install | || | 10.6s | 5.1s | 5.2s | 1.3s |
| install || || 1.6s | 2.2s | 6.8s | n/a |
| install | ||| 1.3s | 377ms | 5s | n/a |
| install | | || 1.6s | 5.1s | 6.7s | n/a |
| update | n/a | n/a | n/a | 6.2s | 3.4s | 5.6s | 2.9s |

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

Please sign in to comment.