File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
ci/github-actions/benchmark Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -527,6 +527,18 @@ jobs:
527527 chmod +x DUTREE.tmp/dutree
528528 echo "$(pwd)/DUTREE.tmp" >> "$GITHUB_PATH"
529529
530+ - name : Install dua
531+ env :
532+ REPO : https://github.com/Byron/dua-cli
533+ VERSION : ' 2.11.3'
534+ run : |
535+ mkdir -p DUA.tmp
536+ archive_name="dua-v${VERSION}-x86_64-unknown-linux-musl"
537+ curl -L "${REPO}/releases/download/v${VERSION}/${archive_name}.tar.gz" > tmp.dua.tar.gz
538+ tar xf tmp.dua.tar.gz --directory=DUA.tmp
539+ chmod +x "DUA.tmp/${archive_name}/dua"
540+ echo "$(pwd)/DUA.tmp/${archive_name}" >> "$GITHUB_PATH"
541+
530542 - name : Install hyperfine
531543 env :
532544 REPO : https://github.com/sharkdp/hyperfine
@@ -544,13 +556,15 @@ jobs:
544556 which pdu
545557 which dust
546558 which dutree
559+ which dua
547560 which du
548561 which hyperfine
549562
550563 - name : Inspect versions of the other tools
551564 run : |
552565 dust --version
553566 dutree --version
567+ dua --version
554568 du --version
555569 hyperfine --version
556570
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
9292 competitors : [
9393 [ 'dust' , '--apparent-size' ] ,
9494 [ 'dutree' ] ,
95+ [ 'dua' , '--apparent-size' ] ,
9596 [ 'du' , '--apparent-size' ] ,
9697 ] ,
9798 } ,
@@ -101,6 +102,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
101102 competitors : [
102103 [ 'dust' ] ,
103104 [ 'dutree' , '--usage' ] ,
105+ [ 'dua' ] ,
104106 [ 'du' ] ,
105107 ] ,
106108 } ,
@@ -117,6 +119,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
117119 pduCliArgs : [ '--max-depth=1' ] ,
118120 competitors : [
119121 [ 'dutree' , '--summary' ] ,
122+ [ 'dua' , '--apparent-size' ] ,
120123 [ 'du' , '--apparent-size' , '--total' ] ,
121124 ] ,
122125 } ,
@@ -139,6 +142,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
139142 id : 'no-sort+summary' ,
140143 pduCliArgs : [ '--no-sort' , '--max-depth=1' ] ,
141144 competitors : [
145+ [ 'dua' , '--apparent-size' ] ,
142146 [ 'du' , '--apparent-size' , '--total' ] ,
143147 ] ,
144148 } ,
You can’t perform that action at this time.
0 commit comments