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 8, 2024
1 parent 386db4c commit 1833509
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 47 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/10.9.2/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1401
withWarmModules: 1657
updatedDependencies: 7965
- firstInstall: 39418
repeatInstall: 1423
withWarmCacheAndLockfile: 8090
withWarmCache: 12236
withLockfile: 10976
withWarmCacheAndModules: 1654
withWarmModulesAndLockfile: 1356
withWarmModules: 1647
updatedDependencies: 7142
- firstInstall: 33712
repeatInstall: 1419
withWarmCacheAndLockfile: 8007
withWarmCache: 12040
withLockfile: 10864
withWarmCacheAndModules: 1641
withWarmModulesAndLockfile: 1368
withWarmModules: 1665
updatedDependencies: 6720
- firstInstall: 34601
repeatInstall: 1445
withWarmCacheAndLockfile: 8112
withWarmCache: 12305
withLockfile: 11016
withWarmCacheAndModules: 1674
withWarmModulesAndLockfile: 1356
withWarmModules: 1688
updatedDependencies: 7350
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/10.0.0-beta.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,30 @@
withWarmModulesAndLockfile: 893
withWarmModules: 5907
updatedDependencies: 3416
- firstInstall: 8623
repeatInstall: 862
withWarmCacheAndLockfile: 2437
withWarmCache: 5618
withLockfile: 5200
withWarmCacheAndModules: 2110
withWarmModulesAndLockfile: 900
withWarmModules: 5479
updatedDependencies: 3547
- firstInstall: 8377
repeatInstall: 895
withWarmCacheAndLockfile: 2449
withWarmCache: 5622
withLockfile: 5117
withWarmCacheAndModules: 2102
withWarmModulesAndLockfile: 896
withWarmModules: 5092
updatedDependencies: 3339
- firstInstall: 8674
repeatInstall: 879
withWarmCacheAndLockfile: 2464
withWarmCache: 5869
withLockfile: 5164
withWarmCacheAndModules: 2219
withWarmModulesAndLockfile: 877
withWarmModules: 5417
updatedDependencies: 3368
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 @@ -79,3 +79,30 @@
withWarmModulesAndLockfile: 5116
withWarmModules: 6899
updatedDependencies: 5843
- firstInstall: 16505
repeatInstall: 5068
withWarmCacheAndLockfile: 5400
withWarmCache: 7201
withLockfile: 5413
withWarmCacheAndModules: 6860
withWarmModulesAndLockfile: 5070
withWarmModules: 6965
updatedDependencies: 6614
- firstInstall: 7217
repeatInstall: 5071
withWarmCacheAndLockfile: 5258
withWarmCache: 7244
withLockfile: 5332
withWarmCacheAndModules: 6914
withWarmModulesAndLockfile: 5062
withWarmModules: 7003
updatedDependencies: 5692
- firstInstall: 7194
repeatInstall: 5094
withWarmCacheAndLockfile: 5288
withWarmCache: 7138
withLockfile: 5299
withWarmCacheAndModules: 6827
withWarmModulesAndLockfile: 5105
withWarmModules: 7019
updatedDependencies: 5786
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 @@ -79,3 +79,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3056
- firstInstall: 3475
repeatInstall: 0
withWarmCacheAndLockfile: 1361
withWarmCache: 2987
withLockfile: 1342
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3194
- firstInstall: 3666
repeatInstall: 0
withWarmCacheAndLockfile: 1339
withWarmCache: 3096
withLockfile: 1359
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3099
- firstInstall: 3542
repeatInstall: 0
withWarmCacheAndLockfile: 1356
withWarmCache: 2951
withLockfile: 1353
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3049
14 changes: 7 additions & 7 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 5, 2024, 3:57 PM_ (_daily_ updated).
**Last benchmarked at**: _Dec 8, 2024, 3:31 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 | | | | 35.6s | 9.2s | 7.1s | 3.5s |
| install |||| 1.4s | 877ms | 5s | n/a |
| install | | | | 33.7s | 8.3s | 7.1s | 3.4s |
| install |||| 1.4s | 862ms | 5s | n/a |
| install ||| | 7.7s | 2.4s | 5.2s | 1.3s |
| install || | | 11.7s | 6s | 7.1s | 2.9s |
| install | || | 10.5s | 5.5s | 5.3s | 1.3s |
| install || | | 11.7s | 5.6s | 7.1s | 2.9s |
| install | || | 10.5s | 5.1s | 5.2s | 1.3s |
| install || || 1.6s | 2.1s | 6.8s | n/a |
| install | ||| 1.3s | 861ms | 5s | n/a |
| install | | || 1.6s | 5.7s | 6.8s | n/a |
| update | n/a | n/a | n/a | 7.5s | 3.4s | 5.8s | 3s |
| install | | || 1.6s | 5s | 6.8s | n/a |
| update | n/a | n/a | n/a | 6.7s | 3.3s | 5.6s | 3s |

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

Please sign in to comment.