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 Jul 14, 2024
1 parent 8b8c4be commit e0ce85d
Show file tree
Hide file tree
Showing 6 changed files with 122 additions and 14 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/10.8.2/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 44012
repeatInstall: 1564
withWarmCacheAndLockfile: 8003
withWarmCache: 12998
withLockfile: 12044
withWarmCacheAndModules: 1814
withWarmModulesAndLockfile: 1499
withWarmModules: 1901
updatedDependencies: 7655
- firstInstall: 39966
repeatInstall: 1537
withWarmCacheAndLockfile: 7920
withWarmCache: 13055
withLockfile: 12182
withWarmCacheAndModules: 1852
withWarmModulesAndLockfile: 1545
withWarmModules: 1809
updatedDependencies: 9168
- firstInstall: 33903
repeatInstall: 1533
withWarmCacheAndLockfile: 7987
withWarmCache: 13180
withLockfile: 12268
withWarmCacheAndModules: 1777
withWarmModulesAndLockfile: 1545
withWarmModules: 1805
updatedDependencies: 6836
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/9.5.0/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,30 @@
withWarmModulesAndLockfile: 1189
withWarmModules: 6732
updatedDependencies: 4035
- firstInstall: 10129
repeatInstall: 1116
withWarmCacheAndLockfile: 2807
withWarmCache: 6457
withLockfile: 5536
withWarmCacheAndModules: 2538
withWarmModulesAndLockfile: 1156
withWarmModules: 5704
updatedDependencies: 4295
- firstInstall: 8956
repeatInstall: 1109
withWarmCacheAndLockfile: 2686
withWarmCache: 6128
withLockfile: 5566
withWarmCacheAndModules: 2559
withWarmModulesAndLockfile: 1142
withWarmModules: 5832
updatedDependencies: 3839
- firstInstall: 9327
repeatInstall: 1097
withWarmCacheAndLockfile: 2718
withWarmCache: 6172
withLockfile: 5502
withWarmCacheAndModules: 2523
withWarmModulesAndLockfile: 1143
withWarmModules: 5610
updatedDependencies: 4085
27 changes: 27 additions & 0 deletions benchmarks/results/yarn/4.3.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,30 @@
withWarmModulesAndLockfile: 5493
withWarmModules: 7568
updatedDependencies: 6461
- firstInstall: 16221
repeatInstall: 5249
withWarmCacheAndLockfile: 5547
withWarmCache: 7495
withLockfile: 5503
withWarmCacheAndModules: 7236
withWarmModulesAndLockfile: 5267
withWarmModules: 7461
updatedDependencies: 7235
- firstInstall: 7319
repeatInstall: 5298
withWarmCacheAndLockfile: 5469
withWarmCache: 7371
withLockfile: 5542
withWarmCacheAndModules: 7069
withWarmModulesAndLockfile: 5298
withWarmModules: 7053
updatedDependencies: 6005
- firstInstall: 7343
repeatInstall: 5284
withWarmCacheAndLockfile: 5416
withWarmCache: 7452
withLockfile: 5567
withWarmCacheAndModules: 7293
withWarmModulesAndLockfile: 5285
withWarmModules: 7314
updatedDependencies: 5893
27 changes: 27 additions & 0 deletions benchmarks/results/yarn_pnp/4.3.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3197
- firstInstall: 3692
repeatInstall: 0
withWarmCacheAndLockfile: 1410
withWarmCache: 3484
withLockfile: 1406
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3432
- firstInstall: 3548
repeatInstall: 0
withWarmCacheAndLockfile: 1450
withWarmCache: 3019
withLockfile: 1413
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3224
- firstInstall: 3625
repeatInstall: 0
withWarmCacheAndLockfile: 1430
withWarmCache: 3013
withLockfile: 1397
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3406
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**: _Jul 8, 2024, 2:48 PM_ (_daily_ updated).
**Last benchmarked at**: _Jul 14, 2024, 3:01 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 | | | | 34.4s | 8.1s | 7.1s | 3.4s |
| install | | | | 33.9s | 8.1s | 7.1s | 3.4s |
| install |||| 1.5s | 1s | 5.1s | n/a |
| install ||| | 7.8s | 2.6s | 5.3s | 1.3s |
| install ||| | 7.9s | 2.6s | 5.3s | 1.3s |
| install || | | 12.9s | 5.8s | 7.2s | 2.9s |
| install | || | 11.7s | 5.3s | 5.4s | 1.3s |
| install | || | 12s | 5.3s | 5.4s | 1.3s |
| install || || 1.7s | 2.4s | 6.9s | n/a |
| install | ||| 1.4s | 1.1s | 5.1s | n/a |
| install | | || 1.7s | 5.4s | 6.8s | n/a |
| update | n/a | n/a | n/a | 7.1s | 3.9s | 5.6s | 3s |
| install | | || 1.8s | 5.4s | 6.8s | n/a |
| update | n/a | n/a | n/a | 6.8s | 3.8s | 5.6s | 3s |

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

Please sign in to comment.