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 10, 2024
1 parent 0fbeddb commit 679ded6
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 15 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 @@ -133,3 +133,30 @@
withWarmModulesAndLockfile: 6778
withWarmModules: 7069
updatedDependencies: 33727
- firstInstall: 61230
repeatInstall: 6876
withWarmCacheAndLockfile: 13331
withWarmCache: 18738
withLockfile: 17314
withWarmCacheAndModules: 7046
withWarmModulesAndLockfile: 6799
withWarmModules: 7099
updatedDependencies: 28192
- firstInstall: 68942
repeatInstall: 6837
withWarmCacheAndLockfile: 13405
withWarmCache: 18378
withLockfile: 17314
withWarmCacheAndModules: 7052
withWarmModulesAndLockfile: 6763
withWarmModules: 7062
updatedDependencies: 33184
- firstInstall: 63918
repeatInstall: 6899
withWarmCacheAndLockfile: 13337
withWarmCache: 18535
withLockfile: 17241
withWarmCacheAndModules: 7110
withWarmModulesAndLockfile: 6788
withWarmModules: 7138
updatedDependencies: 28063
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
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1076
withWarmModules: 6494
updatedDependencies: 3909
- firstInstall: 9669
repeatInstall: 1045
withWarmCacheAndLockfile: 2800
withWarmCache: 6137
withLockfile: 5601
withWarmCacheAndModules: 2589
withWarmModulesAndLockfile: 1063
withWarmModules: 6168
updatedDependencies: 3865
- firstInstall: 9880
repeatInstall: 1058
withWarmCacheAndLockfile: 2794
withWarmCache: 6243
withLockfile: 5985
withWarmCacheAndModules: 2580
withWarmModulesAndLockfile: 1103
withWarmModules: 5766
updatedDependencies: 3740
- firstInstall: 10024
repeatInstall: 1054
withWarmCacheAndLockfile: 2787
withWarmCache: 6307
withLockfile: 5739
withWarmCacheAndModules: 2522
withWarmModulesAndLockfile: 1085
withWarmModules: 5635
updatedDependencies: 4219
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 @@ -79,3 +79,30 @@
withWarmModulesAndLockfile: 5367
withWarmModules: 7350
updatedDependencies: 6202
- firstInstall: 16222
repeatInstall: 5306
withWarmCacheAndLockfile: 5509
withWarmCache: 7311
withLockfile: 5557
withWarmCacheAndModules: 7314
withWarmModulesAndLockfile: 5291
withWarmModules: 7248
updatedDependencies: 6956
- firstInstall: 7392
repeatInstall: 5263
withWarmCacheAndLockfile: 5468
withWarmCache: 7517
withLockfile: 5519
withWarmCacheAndModules: 7048
withWarmModulesAndLockfile: 5282
withWarmModules: 7066
updatedDependencies: 6079
- firstInstall: 7477
repeatInstall: 5256
withWarmCacheAndLockfile: 5505
withWarmCache: 7529
withLockfile: 5555
withWarmCacheAndModules: 7088
withWarmModulesAndLockfile: 5211
withWarmModules: 7183
updatedDependencies: 6183
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 @@ -79,3 +79,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3261
- firstInstall: 3619
repeatInstall: 0
withWarmCacheAndLockfile: 1388
withWarmCache: 3087
withLockfile: 1406
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3246
- firstInstall: 3484
repeatInstall: 0
withWarmCacheAndLockfile: 1410
withWarmCache: 3237
withLockfile: 1396
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3078
- firstInstall: 3710
repeatInstall: 0
withWarmCacheAndLockfile: 1401
withWarmCache: 3243
withLockfile: 1403
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3141
12 changes: 6 additions & 6 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**: _Nov 3, 2024, 3:17 AM_ (_daily_ updated).
**Last benchmarked at**: _Nov 10, 2024, 3:12 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 | 10.9s | 7.1s | 3.4s |
| install | | | | 48.3s | 9.6s | 7.1s | 3.4s |
| install |||| 6.8s | 1s | 5.2s | 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 || | | 18.3s | 6.1s | 7.2s | 3s |
| install | || | 17.2s | 5.6s | 5.4s | 1.3s |
| install || || 7s | 2.5s | 7s | n/a |
| install | ||| 6.7s | 1s | 5.2s | n/a |
| install | | || 7s | 6.4s | 7s | n/a |
| install | | || 7s | 5.6s | 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 679ded6

Please sign in to comment.