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 Jun 23, 2024
1 parent ef8ec61 commit 7b8ad08
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 26 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/10.8.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,30 @@
withWarmModulesAndLockfile: 1525
withWarmModules: 1796
updatedDependencies: 7538
- firstInstall: 47951
repeatInstall: 1563
withWarmCacheAndLockfile: 8018
withWarmCache: 13347
withLockfile: 12072
withWarmCacheAndModules: 1831
withWarmModulesAndLockfile: 1519
withWarmModules: 1846
updatedDependencies: 9040
- firstInstall: 41202
repeatInstall: 1567
withWarmCacheAndLockfile: 8027
withWarmCache: 13329
withLockfile: 12120
withWarmCacheAndModules: 1803
withWarmModulesAndLockfile: 1511
withWarmModules: 1826
updatedDependencies: 11265
- firstInstall: 41747
repeatInstall: 1558
withWarmCacheAndLockfile: 8006
withWarmCache: 13224
withLockfile: 12153
withWarmCacheAndModules: 1815
withWarmModulesAndLockfile: 1510
withWarmModules: 1811
updatedDependencies: 7972
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/9.4.0/alotta-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- firstInstall: 9904
repeatInstall: 1102
withWarmCacheAndLockfile: 2750
withWarmCache: 6144
withLockfile: 5559
withWarmCacheAndModules: 2466
withWarmModulesAndLockfile: 1115
withWarmModules: 5937
updatedDependencies: 4168
- firstInstall: 9659
repeatInstall: 1084
withWarmCacheAndLockfile: 2735
withWarmCache: 6566
withLockfile: 5583
withWarmCacheAndModules: 2475
withWarmModulesAndLockfile: 1187
withWarmModules: 5762
updatedDependencies: 3840
- firstInstall: 9151
repeatInstall: 1098
withWarmCacheAndLockfile: 2690
withWarmCache: 6182
withLockfile: 5518
withWarmCacheAndModules: 2515
withWarmModulesAndLockfile: 1107
withWarmModules: 5771
updatedDependencies: 4001
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
@@ -0,0 +1,27 @@
- firstInstall: 16362
repeatInstall: 5279
withWarmCacheAndLockfile: 5476
withWarmCache: 7659
withLockfile: 5594
withWarmCacheAndModules: 7277
withWarmModulesAndLockfile: 5217
withWarmModules: 7131
updatedDependencies: 7067
- firstInstall: 8000
repeatInstall: 5307
withWarmCacheAndLockfile: 5448
withWarmCache: 7370
withLockfile: 5490
withWarmCacheAndModules: 7249
withWarmModulesAndLockfile: 5218
withWarmModules: 7115
updatedDependencies: 6042
- firstInstall: 7350
repeatInstall: 5329
withWarmCacheAndLockfile: 5431
withWarmCache: 7563
withLockfile: 5492
withWarmCacheAndModules: 7219
withWarmModulesAndLockfile: 5218
withWarmModules: 7177
updatedDependencies: 5868
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
@@ -0,0 +1,27 @@
- firstInstall: 3717
repeatInstall: 0
withWarmCacheAndLockfile: 1400
withWarmCache: 3215
withLockfile: 1394
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3235
- firstInstall: 4084
repeatInstall: 0
withWarmCacheAndLockfile: 1405
withWarmCache: 3138
withLockfile: 1409
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3258
- firstInstall: 3817
repeatInstall: 0
withWarmCacheAndLockfile: 1427
withWarmCache: 3077
withLockfile: 1421
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3129
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**: _Jun 16, 2024, 11:49 PM_ (_daily_ updated).
**Last benchmarked at**: _Jun 23, 2024, 2:54 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 | 9.1s | 7.3s | 3.5s |
| install |||| 1.5s | 1.1s | 5.1s | n/a |
| install ||| | 7.8s | 2.7s | 5.3s | 1.3s |
| install || | | 12.9s | 6.2s | 7.3s | 2.9s |
| install | || | 11.7s | 5.6s | 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.6s | 6.9s | n/a |
| update | n/a | n/a | n/a | 7.1s | 3.8s | 5.8s | 3s |
| install | | | | 34.4s | 9.1s | 7.3s | 3.7s |
| install |||| 1.5s | 1s | 5.2s | n/a |
| install ||| | 7.8s | 2.6s | 5.4s | 1.4s |
| install || | | 12.9s | 6.1s | 7.3s | 3s |
| install | || | 11.7s | 5.5s | 5.4s | 1.3s |
| install || || 1.7s | 2.4s | 7.2s | n/a |
| install | ||| 1.4s | 1.1s | 5.2s | n/a |
| install | | || 1.7s | 5.7s | 7.1s | n/a |
| update | n/a | n/a | n/a | 7.1s | 3.8s | 5.8s | 3.1s |

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

Please sign in to comment.