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 Sep 1, 2024
1 parent 809039f commit 308f62b
Show file tree
Hide file tree
Showing 6 changed files with 162 additions and 54 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/10.8.3/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 41383
repeatInstall: 1614
withWarmCacheAndLockfile: 7971
withWarmCache: 13011
withLockfile: 12188
withWarmCacheAndModules: 1811
withWarmModulesAndLockfile: 1488
withWarmModules: 1768
updatedDependencies: 9118
- firstInstall: 37534
repeatInstall: 1524
withWarmCacheAndLockfile: 7883
withWarmCache: 12879
withLockfile: 11916
withWarmCacheAndModules: 1782
withWarmModulesAndLockfile: 1521
withWarmModules: 1832
updatedDependencies: 8860
- firstInstall: 38612
repeatInstall: 1521
withWarmCacheAndLockfile: 7925
withWarmCache: 12842
withLockfile: 11955
withWarmCacheAndModules: 1791
withWarmModulesAndLockfile: 1481
withWarmModules: 1792
updatedDependencies: 7861
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/9.9.0/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 9617
repeatInstall: 1040
withWarmCacheAndLockfile: 2673
withWarmCache: 6346
withLockfile: 5612
withWarmCacheAndModules: 2457
withWarmModulesAndLockfile: 1079
withWarmModules: 6198
updatedDependencies: 4013
- firstInstall: 9308
repeatInstall: 1056
withWarmCacheAndLockfile: 2734
withWarmCache: 6227
withLockfile: 5594
withWarmCacheAndModules: 2449
withWarmModulesAndLockfile: 1073
withWarmModules: 5686
updatedDependencies: 4014
- firstInstall: 9019
repeatInstall: 1052
withWarmCacheAndLockfile: 2693
withWarmCache: 6182
withLockfile: 5529
withWarmCacheAndModules: 2456
withWarmModulesAndLockfile: 1089
withWarmModules: 5888
updatedDependencies: 4138
27 changes: 27 additions & 0 deletions benchmarks/results/yarn/4.4.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 5323
withWarmModules: 7234
updatedDependencies: 6018
- firstInstall: 16240
repeatInstall: 5255
withWarmCacheAndLockfile: 5427
withWarmCache: 7414
withLockfile: 5460
withWarmCacheAndModules: 7209
withWarmModulesAndLockfile: 5253
withWarmModules: 7028
updatedDependencies: 6935
- firstInstall: 7142
repeatInstall: 5273
withWarmCacheAndLockfile: 5424
withWarmCache: 7298
withLockfile: 5550
withWarmCacheAndModules: 7231
withWarmModulesAndLockfile: 5289
withWarmModules: 7220
updatedDependencies: 5872
- firstInstall: 7345
repeatInstall: 5301
withWarmCacheAndLockfile: 5362
withWarmCache: 7213
withLockfile: 5536
withWarmCacheAndModules: 7049
withWarmModulesAndLockfile: 5188
withWarmModules: 6915
updatedDependencies: 5917
27 changes: 27 additions & 0 deletions benchmarks/results/yarn_pnp/4.4.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3131
- firstInstall: 3535
repeatInstall: 0
withWarmCacheAndLockfile: 1412
withWarmCache: 3103
withLockfile: 1402
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3050
- firstInstall: 3874
repeatInstall: 0
withWarmCacheAndLockfile: 1422
withWarmCache: 3074
withLockfile: 1404
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3061
- firstInstall: 3633
repeatInstall: 0
withWarmCacheAndLockfile: 1407
withWarmCache: 2920
withLockfile: 1386
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3231
20 changes: 10 additions & 10 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**: _Aug 25, 2024, 3:00 AM_ (_daily_ updated).
**Last benchmarked at**: _Sep 1, 2024, 3:11 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 | | | | 30.8s | 9.1s | 7.4s | 3.6s |
| install |||| 1.5s | 1.1s | 5.2s | n/a |
| install ||| | 7.7s | 2.7s | 5.3s | 1.4s |
| install || | | 12.6s | 6.2s | 7.3s | 2.9s |
| install | || | 11.6s | 5.5s | 5.5s | 1.4s |
| install || || 1.7s | 2.5s | 7.1s | n/a |
| install | ||| 1.4s | 1.1s | 5.2s | n/a |
| install | | || 1.7s | 5.8s | 6.9s | n/a |
| update | n/a | n/a | n/a | 6.7s | 3.8s | 6s | 3s |
| install | | | | 37.5s | 9s | 7.1s | 3.5s |
| install |||| 1.5s | 1s | 5.2s | n/a |
| install ||| | 7.8s | 2.6s | 5.3s | 1.4s |
| install || | | 12.8s | 6.1s | 7.2s | 2.9s |
| install | || | 11.9s | 5.5s | 5.4s | 1.3s |
| install || || 1.7s | 2.4s | 7s | n/a |
| install | ||| 1.4s | 1s | 5.1s | n/a |
| install | | || 1.7s | 5.6s | 6.9s | n/a |
| update | n/a | n/a | n/a | 7.8s | 4s | 5.8s | 3s |

<img alt="Graph of the alotta-files results" src="/img/benchmarks/alotta-files.svg" />
88 changes: 44 additions & 44 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 308f62b

Please sign in to comment.