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 Aug 25, 2024
1 parent fc83358 commit 545c165
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 27 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
Expand Up @@ -160,3 +160,30 @@
withWarmModulesAndLockfile: 1619
withWarmModules: 1869
updatedDependencies: 6993
- firstInstall: 43483
repeatInstall: 1535
withWarmCacheAndLockfile: 7984
withWarmCache: 13089
withLockfile: 12087
withWarmCacheAndModules: 1825
withWarmModulesAndLockfile: 1477
withWarmModules: 1799
updatedDependencies: 8116
- firstInstall: 34347
repeatInstall: 1603
withWarmCacheAndLockfile: 8031
withWarmCache: 13238
withLockfile: 12291
withWarmCacheAndModules: 1824
withWarmModulesAndLockfile: 1547
withWarmModules: 1833
updatedDependencies: 10164
- firstInstall: 36539
repeatInstall: 1542
withWarmCacheAndLockfile: 7985
withWarmCache: 13067
withLockfile: 12192
withWarmCacheAndModules: 1817
withWarmModulesAndLockfile: 1529
withWarmModules: 1813
updatedDependencies: 6806
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/9.8.0/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 10279
repeatInstall: 1138
withWarmCacheAndLockfile: 2760
withWarmCache: 6462
withLockfile: 5626
withWarmCacheAndModules: 2514
withWarmModulesAndLockfile: 1156
withWarmModules: 6153
updatedDependencies: 4037
- firstInstall: 9116
repeatInstall: 1128
withWarmCacheAndLockfile: 2736
withWarmCache: 6255
withLockfile: 5538
withWarmCacheAndModules: 2522
withWarmModulesAndLockfile: 1124
withWarmModules: 5959
updatedDependencies: 3952
- firstInstall: 9306
repeatInstall: 1103
withWarmCacheAndLockfile: 2730
withWarmCache: 6227
withLockfile: 5533
withWarmCacheAndModules: 2601
withWarmModulesAndLockfile: 1169
withWarmModules: 5812
updatedDependencies: 3890
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
@@ -0,0 +1,27 @@
- firstInstall: 16081
repeatInstall: 5254
withWarmCacheAndLockfile: 5518
withWarmCache: 7619
withLockfile: 5562
withWarmCacheAndModules: 7337
withWarmModulesAndLockfile: 5304
withWarmModules: 7206
updatedDependencies: 7028
- firstInstall: 7534
repeatInstall: 5266
withWarmCacheAndLockfile: 5370
withWarmCache: 7333
withLockfile: 5602
withWarmCacheAndModules: 7504
withWarmModulesAndLockfile: 5264
withWarmModules: 6980
updatedDependencies: 6155
- firstInstall: 7404
repeatInstall: 5271
withWarmCacheAndLockfile: 5507
withWarmCache: 7666
withLockfile: 5531
withWarmCacheAndModules: 7179
withWarmModulesAndLockfile: 5323
withWarmModules: 7234
updatedDependencies: 6018
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
@@ -0,0 +1,27 @@
- firstInstall: 3664
repeatInstall: 0
withWarmCacheAndLockfile: 1403
withWarmCache: 3168
withLockfile: 1400
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3078
- firstInstall: 3755
repeatInstall: 0
withWarmCacheAndLockfile: 1406
withWarmCache: 3139
withLockfile: 1402
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3062
- firstInstall: 3615
repeatInstall: 0
withWarmCacheAndLockfile: 1433
withWarmCache: 2973
withLockfile: 1411
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3131
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 18, 2024, 2:57 AM_ (_daily_ updated).
**Last benchmarked at**: _Aug 25, 2024, 3:00 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 | 8.7s | 7.2s | 3.4s |
| install |||| 1.5s | 1.1s | 5.1s | n/a |
| install ||| | 7.7s | 2.7s | 5.2s | 1.3s |
| install || | | 12.6s | 6.1s | 7.2s | 2.9s |
| install | || | 11.6s | 5.4s | 5.3s | 1.3s |
| install || || 1.7s | 2.5s | 6.8s | n/a |
| install | ||| 1.4s | 1.1s | 5s | n/a |
| install | | || 1.7s | 5.5s | 7s | n/a |
| update | n/a | n/a | n/a | 6.7s | 3.8s | 5.8s | 2.9s |
| 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 |

<img alt="Graph of the alotta-files results" src="/img/benchmarks/alotta-files.svg" />
34 changes: 17 additions & 17 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 545c165

Please sign in to comment.