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 4d4fb30 commit 590f6b1
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 10 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 @@ -187,3 +187,30 @@
withWarmModulesAndLockfile: 1545
withWarmModules: 1789
updatedDependencies: 8080
- firstInstall: 52004
repeatInstall: 1581
withWarmCacheAndLockfile: 8170
withWarmCache: 13363
withLockfile: 16762
withWarmCacheAndModules: 1823
withWarmModulesAndLockfile: 1583
withWarmModules: 1820
updatedDependencies: 7322
- firstInstall: 44554
repeatInstall: 1639
withWarmCacheAndLockfile: 8529
withWarmCache: 14110
withLockfile: 17728
withWarmCacheAndModules: 1964
withWarmModulesAndLockfile: 1621
withWarmModules: 1895
updatedDependencies: 11739
- firstInstall: 42227
repeatInstall: 1605
withWarmCacheAndLockfile: 8354
withWarmCache: 13747
withLockfile: 17238
withWarmCacheAndModules: 1872
withWarmModulesAndLockfile: 1562
withWarmModules: 1857
updatedDependencies: 7942
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 @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1082
withWarmModules: 6064
updatedDependencies: 3779
- firstInstall: 9284
repeatInstall: 1097
withWarmCacheAndLockfile: 2724
withWarmCache: 6219
withLockfile: 5655
withWarmCacheAndModules: 2334
withWarmModulesAndLockfile: 1150
withWarmModules: 5811
updatedDependencies: 4015
- firstInstall: 8836
repeatInstall: 1122
withWarmCacheAndLockfile: 2719
withWarmCache: 6284
withLockfile: 5484
withWarmCacheAndModules: 2240
withWarmModulesAndLockfile: 1106
withWarmModules: 5514
updatedDependencies: 3973
- firstInstall: 8796
repeatInstall: 1108
withWarmCacheAndLockfile: 2753
withWarmCache: 6172
withLockfile: 5671
withWarmCacheAndModules: 2277
withWarmModulesAndLockfile: 1131
withWarmModules: 5524
updatedDependencies: 4077
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 @@ -160,3 +160,30 @@
withWarmModulesAndLockfile: 5358
withWarmModules: 7365
updatedDependencies: 6191
- firstInstall: 16259
repeatInstall: 5381
withWarmCacheAndLockfile: 5578
withWarmCache: 7552
withLockfile: 5755
withWarmCacheAndModules: 7503
withWarmModulesAndLockfile: 5482
withWarmModules: 7735
updatedDependencies: 6965
- firstInstall: 7698
repeatInstall: 5631
withWarmCacheAndLockfile: 5764
withWarmCache: 8001
withLockfile: 5955
withWarmCacheAndModules: 7779
withWarmModulesAndLockfile: 5706
withWarmModules: 7668
updatedDependencies: 6425
- firstInstall: 7605
repeatInstall: 5509
withWarmCacheAndLockfile: 5755
withWarmCache: 7820
withLockfile: 5819
withWarmCacheAndModules: 7641
withWarmModulesAndLockfile: 5584
withWarmModules: 7658
updatedDependencies: 6316
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 @@ -160,3 +160,30 @@
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3167
- firstInstall: 3820
repeatInstall: 0
withWarmCacheAndLockfile: 1502
withWarmCache: 3146
withLockfile: 1512
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3406
- firstInstall: 4007
repeatInstall: 0
withWarmCacheAndLockfile: 1546
withWarmCache: 3281
withLockfile: 1535
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3597
- firstInstall: 3832
repeatInstall: 0
withWarmCacheAndLockfile: 1522
withWarmCache: 3312
withLockfile: 1520
withWarmCacheAndModules: 0
withWarmModulesAndLockfile: 0
withWarmModules: 0
updatedDependencies: 3385
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**: _Mar 24, 2024, 10:38 AM_ (_daily_ updated).
**Last benchmarked at**: _Mar 26, 2024, 12:30 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 | 9.5s | 7.3s | 3.6s |
| install | | | | 38.1s | 8.7s | 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.3s | 7.3s | 3s |
| install | || | 16.4s | 5.8s | 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 | ||| 1.5s | 1s | 5.2s | n/a |
| install | | || 1.7s | 5.8s | 6.9s | n/a |
| update | n/a | n/a | n/a | 7.4s | 3.6s | 5.8s | 3s |
| install | | || 1.7s | 5.5s | 6.9s | n/a |
| update | n/a | n/a | n/a | 7.3s | 3.6s | 5.8s | 3s |

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

Please sign in to comment.