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 8, 2024
1 parent bad88b8 commit 4d104bc
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.8.3/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1481
withWarmModules: 1792
updatedDependencies: 7861
- firstInstall: 46800
repeatInstall: 1674
withWarmCacheAndLockfile: 8158
withWarmCache: 13211
withLockfile: 12192
withWarmCacheAndModules: 1890
withWarmModulesAndLockfile: 1604
withWarmModules: 1868
updatedDependencies: 9058
- firstInstall: 33889
repeatInstall: 1607
withWarmCacheAndLockfile: 8103
withWarmCache: 13531
withLockfile: 12528
withWarmCacheAndModules: 1802
withWarmModulesAndLockfile: 1587
withWarmModules: 1841
updatedDependencies: 9794
- firstInstall: 34234
repeatInstall: 1550
withWarmCacheAndLockfile: 8096
withWarmCache: 13848
withLockfile: 12535
withWarmCacheAndModules: 1848
withWarmModulesAndLockfile: 1569
withWarmModules: 1817
updatedDependencies: 7690
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
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1089
withWarmModules: 5888
updatedDependencies: 4138
- firstInstall: 9705
repeatInstall: 1072
withWarmCacheAndLockfile: 2787
withWarmCache: 6312
withLockfile: 5650
withWarmCacheAndModules: 2734
withWarmModulesAndLockfile: 1164
withWarmModules: 5925
updatedDependencies: 4056
- firstInstall: 8757
repeatInstall: 1058
withWarmCacheAndLockfile: 2756
withWarmCache: 6260
withLockfile: 5494
withWarmCacheAndModules: 2562
withWarmModulesAndLockfile: 1166
withWarmModules: 5735
updatedDependencies: 3855
- firstInstall: 9468
repeatInstall: 1103
withWarmCacheAndLockfile: 2881
withWarmCache: 6521
withLockfile: 5513
withWarmCacheAndModules: 2495
withWarmModulesAndLockfile: 1102
withWarmModules: 5710
updatedDependencies: 3799
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 @@ -52,3 +52,30 @@
withWarmModulesAndLockfile: 5188
withWarmModules: 6915
updatedDependencies: 5917
- firstInstall: 16689
repeatInstall: 5387
withWarmCacheAndLockfile: 5455
withWarmCache: 7541
withLockfile: 5573
withWarmCacheAndModules: 7538
withWarmModulesAndLockfile: 5629
withWarmModules: 7421
updatedDependencies: 7001
- firstInstall: 7612
repeatInstall: 5418
withWarmCacheAndLockfile: 5502
withWarmCache: 7543
withLockfile: 5544
withWarmCacheAndModules: 7318
withWarmModulesAndLockfile: 5396
withWarmModules: 7180
updatedDependencies: 6079
- firstInstall: 7762
repeatInstall: 5509
withWarmCacheAndLockfile: 5638
withWarmCache: 7541
withLockfile: 5682
withWarmCacheAndModules: 7311
withWarmModulesAndLockfile: 5341
withWarmModules: 7244
updatedDependencies: 5994
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 @@ -52,3 +52,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3231
- firstInstall: 3632
repeatInstall: 0
withWarmCacheAndLockfile: 1455
withWarmCache: 3138
withLockfile: 1424
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3207
- firstInstall: 3703
repeatInstall: 0
withWarmCacheAndLockfile: 1450
withWarmCache: 3144
withLockfile: 1462
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3530
- firstInstall: 3662
repeatInstall: 0
withWarmCacheAndLockfile: 1435
withWarmCache: 3197
withLockfile: 1432
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3291
8 changes: 4 additions & 4 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**: _Sep 1, 2024, 3:11 AM_ (_daily_ updated).
**Last benchmarked at**: _Sep 8, 2024, 3:06 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 | | | | 37.5s | 9s | 7.1s | 3.5s |
| install | | | | 33.8s | 8.7s | 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 | || | 11.9s | 5.4s | 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 |
| update | n/a | n/a | n/a | 7.6s | 3.7s | 5.8s | 3s |

<img alt="Graph of the alotta-files results" src="/img/benchmarks/alotta-files.svg" />
86 changes: 43 additions & 43 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 4d104bc

Please sign in to comment.