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 Jan 5, 2025
1 parent 3a62cc3 commit d3e2918
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 27 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 @@ -52,3 +52,30 @@
withWarmModulesAndLockfile: 1388
withWarmModules: 1681
updatedDependencies: 6661
- firstInstall: 36067
repeatInstall: 1522
withWarmCacheAndLockfile: 8043
withWarmCache: 12141
withLockfile: 10955
withWarmCacheAndModules: 1656
withWarmModulesAndLockfile: 1353
withWarmModules: 1695
updatedDependencies: 6855
- firstInstall: 29029
repeatInstall: 1486
withWarmCacheAndLockfile: 8156
withWarmCache: 12201
withLockfile: 10589
withWarmCacheAndModules: 1706
withWarmModulesAndLockfile: 1357
withWarmModules: 1658
updatedDependencies: 8274
- firstInstall: 29216
repeatInstall: 1414
withWarmCacheAndLockfile: 8006
withWarmCache: 12025
withLockfile: 10762
withWarmCacheAndModules: 1688
withWarmModulesAndLockfile: 1373
withWarmModules: 1667
updatedDependencies: 6541
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
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 390
withWarmModules: 5464
updatedDependencies: 3894
- firstInstall: 8736
repeatInstall: 387
withWarmCacheAndLockfile: 2619
withWarmCache: 5794
withLockfile: 5347
withWarmCacheAndModules: 2192
withWarmModulesAndLockfile: 388
withWarmModules: 5535
updatedDependencies: 3659
- firstInstall: 8117
repeatInstall: 380
withWarmCacheAndLockfile: 2507
withWarmCache: 5578
withLockfile: 5105
withWarmCacheAndModules: 2148
withWarmModulesAndLockfile: 382
withWarmModules: 5177
updatedDependencies: 3728
- firstInstall: 8156
repeatInstall: 378
withWarmCacheAndLockfile: 2470
withWarmCache: 5649
withLockfile: 5128
withWarmCacheAndModules: 2148
withWarmModulesAndLockfile: 377
withWarmModules: 5166
updatedDependencies: 3504
27 changes: 27 additions & 0 deletions benchmarks/results/yarn/4.6.0/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 15538
repeatInstall: 5071
withWarmCacheAndLockfile: 5491
withWarmCache: 9436
withLockfile: 5368
withWarmCacheAndModules: 9211
withWarmModulesAndLockfile: 5107
withWarmModules: 9104
updatedDependencies: 7118
- firstInstall: 9316
repeatInstall: 5179
withWarmCacheAndLockfile: 5336
withWarmCache: 9572
withLockfile: 5398
withWarmCacheAndModules: 9354
withWarmModulesAndLockfile: 5186
withWarmModules: 9109
updatedDependencies: 6136
- firstInstall: 9305
repeatInstall: 5160
withWarmCacheAndLockfile: 5449
withWarmCache: 9719
withLockfile: 5510
withWarmCacheAndModules: 9558
withWarmModulesAndLockfile: 5285
withWarmModules: 9354
updatedDependencies: 6136
27 changes: 27 additions & 0 deletions benchmarks/results/yarn_pnp/4.6.0/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 5926
repeatInstall: 0
withWarmCacheAndLockfile: 1366
withWarmCache: 5363
withLockfile: 1366
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 5285
- firstInstall: 5647
repeatInstall: 0
withWarmCacheAndLockfile: 1363
withWarmCache: 5180
withLockfile: 1342
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 5211
- firstInstall: 5702
repeatInstall: 0
withWarmCacheAndLockfile: 1352
withWarmCache: 5231
withLockfile: 1339
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 5131
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 29, 2024, 2:57 AM_ (_daily_ updated).
**Last benchmarked at**: _Jan 5, 2025, 2:56 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 | | | | 29.3s | 8s | 7.1s | 3.4s |
| install | | | | 29s | 8s | 9.3s | 5.6s |
| 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 |
| install ||| | 7.9s | 2.4s | 5.3s | 1.3s |
| install || | | 11.9s | 5.5s | 9.4s | 5.1s |
| install | || | 10.5s | 5.1s | 5.3s | 1.3s |
| install || || 1.6s | 2.1s | 9.2s | n/a |
| install | ||| 1.3s | 377ms | 5.1s | n/a |
| install | | || 1.6s | 5.1s | 9.1s | n/a |
| update | n/a | n/a | n/a | 6.2s | 3.4s | 6.1s | 5.1s |

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

Please sign in to comment.