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 20, 2023
1 parent a37af4e commit 8310d47
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 19 deletions.
27 changes: 27 additions & 0 deletions benchmarks/results/npm/9.8.1/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,30 @@
withWarmModulesAndLockfile: 2297
withWarmModules: 2793
updatedDependencies: 10698
- firstInstall: 62686
repeatInstall: 2067
withWarmCacheAndLockfile: 9665
withWarmCache: 13894
withLockfile: 14320
withWarmCacheAndModules: 2477
withWarmModulesAndLockfile: 2025
withWarmModules: 2439
updatedDependencies: 8796
- firstInstall: 61761
repeatInstall: 2092
withWarmCacheAndLockfile: 9247
withWarmCache: 13849
withLockfile: 14597
withWarmCacheAndModules: 2432
withWarmModulesAndLockfile: 2022
withWarmModules: 2514
updatedDependencies: 11912
- firstInstall: 49709
repeatInstall: 2230
withWarmCacheAndLockfile: 9187
withWarmCache: 14014
withLockfile: 14604
withWarmCacheAndModules: 2475
withWarmModulesAndLockfile: 2040
withWarmModules: 2431
updatedDependencies: 10937
27 changes: 27 additions & 0 deletions benchmarks/results/pnpm/8.6.12/alotta-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,30 @@
withWarmModulesAndLockfile: 1655
withWarmModules: 15571
updatedDependencies: 8230
- firstInstall: 17364
repeatInstall: 1515
withWarmCacheAndLockfile: 4700
withWarmCache: 9047
withLockfile: 14352
withWarmCacheAndModules: 3582
withWarmModulesAndLockfile: 1570
withWarmModules: 13509
updatedDependencies: 6862
- firstInstall: 17106
repeatInstall: 1514
withWarmCacheAndLockfile: 4460
withWarmCache: 8961
withLockfile: 14191
withWarmCacheAndModules: 3607
withWarmModulesAndLockfile: 1549
withWarmModules: 13712
updatedDependencies: 7209
- firstInstall: 17984
repeatInstall: 1500
withWarmCacheAndLockfile: 4642
withWarmCache: 9101
withLockfile: 14547
withWarmCacheAndModules: 3560
withWarmModulesAndLockfile: 1540
withWarmModules: 13341
updatedDependencies: 7139
18 changes: 9 additions & 9 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 13, 2023, 2:43 AM_ (_daily_ updated).
**Last benchmarked at**: _Aug 20, 2023, 2:43 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.7s | 19.3s | 22.1s | 20.2s |
| install |||| 2s | 1.6s | 695ms | n/a |
| install ||| | 8.9s | 5.1s | 8.8s | 668ms |
| install | | | | 37.7s | 17.1s | 22.1s | 20.2s |
| install |||| 2s | 1.5s | 695ms | n/a |
| install ||| | 8.9s | 4.4s | 8.8s | 668ms |
| install || | | 13.7s | 8.6s | 22.8s | 15.2s |
| install | || | 14.2s | 16.8s | 8.9s | 670ms |
| install || || 2.4s | 3.9s | 16s | n/a |
| install | ||| 2s | 1.6s | 681ms | n/a |
| install | | || 2.3s | 15.2s | 16.6s | n/a |
| update | n/a | n/a | n/a | 8.9s | 8s | 8.7s | 16.9s |
| install | || | 14.2s | 14.1s | 8.9s | 670ms |
| install || || 2.4s | 3.5s | 16s | n/a |
| install | ||| 2s | 1.5s | 681ms | n/a |
| install | | || 2.3s | 13.3s | 16.6s | n/a |
| update | n/a | n/a | n/a | 8.7s | 6.8s | 8.7s | 16.9s |

<img alt="Graph of the alotta-files results" src="/img/benchmarks/alotta-files.svg" />
20 changes: 10 additions & 10 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 8310d47

Please sign in to comment.