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 Mar 26, 2024
1 parent 590f6b1 commit 3d66536
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 13 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/10.5.0/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,30 @@
withWarmModulesAndLockfile: 1562
withWarmModules: 1857
updatedDependencies: 7942
- firstInstall: 41641
repeatInstall: 1563
withWarmCacheAndLockfile: 8314
withWarmCache: 13225
withLockfile: 16649
withWarmCacheAndModules: 1825
withWarmModulesAndLockfile: 1578
withWarmModules: 1777
updatedDependencies: 7260
- firstInstall: 35852
repeatInstall: 1607
withWarmCacheAndLockfile: 8172
withWarmCache: 13411
withLockfile: 16760
withWarmCacheAndModules: 1836
withWarmModulesAndLockfile: 1607
withWarmModules: 1848
updatedDependencies: 8612
- firstInstall: 38362
repeatInstall: 1614
withWarmCacheAndLockfile: 8194
withWarmCache: 13354
withLockfile: 16684
withWarmCacheAndModules: 1793
withWarmModulesAndLockfile: 1544
withWarmModules: 1798
updatedDependencies: 7288
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/9.0.0-beta.0/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,30 @@
withWarmModulesAndLockfile: 1131
withWarmModules: 5524
updatedDependencies: 4077
- firstInstall: 8285
repeatInstall: 1069
withWarmCacheAndLockfile: 2613
withWarmCache: 5809
withLockfile: 5322
withWarmCacheAndModules: 2230
withWarmModulesAndLockfile: 1092
withWarmModules: 5258
updatedDependencies: 3788
- firstInstall: 8074
repeatInstall: 1058
withWarmCacheAndLockfile: 2658
withWarmCache: 5877
withLockfile: 5253
withWarmCacheAndModules: 2188
withWarmModulesAndLockfile: 1092
withWarmModules: 5120
updatedDependencies: 3566
- firstInstall: 7951
repeatInstall: 1072
withWarmCacheAndLockfile: 2682
withWarmCache: 5781
withLockfile: 5381
withWarmCacheAndModules: 2249
withWarmModulesAndLockfile: 1095
withWarmModules: 5221
updatedDependencies: 3863
27 changes: 27 additions & 0 deletions benchmarks/results/yarn/4.1.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,30 @@
withWarmModulesAndLockfile: 5584
withWarmModules: 7658
updatedDependencies: 6316
- firstInstall: 16059
repeatInstall: 5298
withWarmCacheAndLockfile: 5461
withWarmCache: 7364
withLockfile: 5702
withWarmCacheAndModules: 7233
withWarmModulesAndLockfile: 5375
withWarmModules: 7041
updatedDependencies: 6920
- firstInstall: 7423
repeatInstall: 5352
withWarmCacheAndLockfile: 5501
withWarmCache: 7614
withLockfile: 5577
withWarmCacheAndModules: 6967
withWarmModulesAndLockfile: 5319
withWarmModules: 7134
updatedDependencies: 6023
- firstInstall: 7435
repeatInstall: 5354
withWarmCacheAndLockfile: 5464
withWarmCache: 7524
withLockfile: 5594
withWarmCacheAndModules: 7369
withWarmModulesAndLockfile: 5485
withWarmModules: 7175
updatedDependencies: 6368
27 changes: 27 additions & 0 deletions benchmarks/results/yarn_pnp/4.1.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3385
- firstInstall: 3715
repeatInstall: 0
withWarmCacheAndLockfile: 1491
withWarmCache: 3026
withLockfile: 1510
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3720
- firstInstall: 3605
repeatInstall: 0
withWarmCacheAndLockfile: 1473
withWarmCache: 3022
withLockfile: 1472
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3053
- firstInstall: 3886
repeatInstall: 0
withWarmCacheAndLockfile: 1526
withWarmCache: 3093
withLockfile: 1507
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3297
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**: _Mar 26, 2024, 12:30 AM_ (_daily_ updated).
**Last benchmarked at**: _Mar 26, 2024, 8:18 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 | | | | 38.1s | 8.7s | 7.3s | 3.6s |
| install | | | | 35.8s | 7.9s | 7.3s | 3.6s |
| install |||| 1.5s | 1s | 5.2s | n/a |
| install ||| | 8.1s | 2.6s | 5.4s | 1.4s |
| install || | | 13.1s | 6.1s | 7.3s | 3s |
| install | || | 16.4s | 5.4s | 5.4s | 1.4s |
| install || || 1.7s | 2.2s | 7s | n/a |
| install || | | 13.1s | 5.7s | 7.3s | 3s |
| install | || | 16.4s | 5.2s | 5.4s | 1.4s |
| install || || 1.7s | 2.1s | 6.9s | n/a |
| install | ||| 1.5s | 1s | 5.2s | n/a |
| install | | || 1.7s | 5.5s | 6.9s | n/a |
| update | n/a | n/a | n/a | 7.3s | 3.6s | 5.8s | 3s |
| install | | || 1.7s | 5.1s | 6.9s | n/a |
| update | n/a | n/a | n/a | 7.2s | 3.5s | 5.8s | 3s |

<img alt="Graph of the alotta-files results" src="/img/benchmarks/alotta-files.svg" />
12 changes: 6 additions & 6 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 3d66536

Please sign in to comment.