Skip to content

Commit de6d493

Browse files
authored
Merge pull request #241 from Byron/count-hardlinks
Setup benchmarks to disable hard-link counting where possible.
2 parents 32a4ab3 + c8493b9 commit de6d493

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

ci/github-actions/benchmark/matrix.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,21 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
9494
pduCliArgs: ['--quantity=apparent-size'],
9595
competitors: [
9696
['dust', '--apparent-size'],
97-
['dua', '--apparent-size'],
97+
['dua', '--count-hard-links', '--apparent-size'],
9898
['ncdu', '-o', '/dev/stdout', '-0'],
99-
['gdu', '--show-apparent-size', '--non-interactive', '--no-progress'],
100-
['du', '--apparent-size'],
99+
['gdu', '--count-links', '--show-apparent-size', '--non-interactive', '--no-progress'],
100+
['du', '-l', '--apparent-size'],
101101
],
102102
},
103103
{
104104
id: 'block-size',
105105
pduCliArgs: ['--quantity=block-size'],
106106
competitors: [
107107
['dust'],
108-
['dua'],
108+
['dua', '--count-hard-links'],
109109
['ncdu', '-o', '/dev/stdout', '-0'],
110-
['gdu', '--non-interactive', '--no-progress'],
111-
['du'],
110+
['gdu', '--count-links', '--non-interactive', '--no-progress'],
111+
['du', '-l'],
112112
],
113113
},
114114
{
@@ -123,8 +123,8 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
123123
pduCliArgs: ['--max-depth=1'],
124124
competitors: [
125125
['dutree', '--summary'],
126-
['dua'],
127-
['du', '--summarize'],
126+
['dua', '--count-hard-links'],
127+
['du', '-l', '--summarize'],
128128
],
129129
},
130130
{
@@ -133,35 +133,35 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
133133
competitors: [
134134
['dutree'],
135135
['ncdu', '-o', '/dev/stdout', '-0'],
136-
['du', '--apparent-size'],
136+
['du', '-l', '--apparent-size'],
137137
],
138138
},
139139
{
140140
id: 'no-sort',
141141
pduCliArgs: ['--no-sort'],
142142
competitors: [
143-
['du'],
144-
['dua'],
143+
['du', '-l'],
144+
['dua', '--count-hard-links'],
145145
['ncdu', '-o', '/dev/stdout', '-0'],
146-
['gdu', '--non-interactive', '--no-progress'],
146+
['gdu', '--count-links', '--non-interactive', '--no-progress'],
147147
],
148148
},
149149
{
150150
id: 'no-sort+summary',
151151
pduCliArgs: ['--no-sort', '--max-depth=1'],
152152
competitors: [
153-
['dua'],
153+
['dua', '--count-hard-links'],
154154
['ncdu', '-o', '/dev/null', '-0'],
155-
['gdu', '--non-interactive', '--no-progress'],
156-
['du', '--summarize'],
155+
['gdu', '--count-links', '--non-interactive', '--no-progress'],
156+
['du', '-l', '--summarize'],
157157
],
158158
},
159159
{
160160
id: 'progress',
161161
pduCliArgs: ['--progress'],
162162
competitors: [
163163
['ncdu', '-o', '/dev/stdout', '-1'],
164-
['gdu', '--non-interactive'],
164+
['gdu', '--count-links', '--non-interactive'],
165165
],
166166
},
167167
]

0 commit comments

Comments
 (0)