Skip to content

Commit 710965b

Browse files
committed
du -l actually has a long form on linux, which is now used as well.
On MacOS/BSD it doesn't though, but that platform isn't used for benchmarks.
1 parent c8493b9 commit 710965b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ci/github-actions/benchmark/matrix.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
9797
['dua', '--count-hard-links', '--apparent-size'],
9898
['ncdu', '-o', '/dev/stdout', '-0'],
9999
['gdu', '--count-links', '--show-apparent-size', '--non-interactive', '--no-progress'],
100-
['du', '-l', '--apparent-size'],
100+
['du', '--count-links', '--apparent-size'],
101101
],
102102
},
103103
{
@@ -108,7 +108,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
108108
['dua', '--count-hard-links'],
109109
['ncdu', '-o', '/dev/stdout', '-0'],
110110
['gdu', '--count-links', '--non-interactive', '--no-progress'],
111-
['du', '-l'],
111+
['du', '--count-links'],
112112
],
113113
},
114114
{
@@ -124,7 +124,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
124124
competitors: [
125125
['dutree', '--summary'],
126126
['dua', '--count-hard-links'],
127-
['du', '-l', '--summarize'],
127+
['du', '--count-links', '--summarize'],
128128
],
129129
},
130130
{
@@ -133,14 +133,14 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
133133
competitors: [
134134
['dutree'],
135135
['ncdu', '-o', '/dev/stdout', '-0'],
136-
['du', '-l', '--apparent-size'],
136+
['du', '--count-links', '--apparent-size'],
137137
],
138138
},
139139
{
140140
id: 'no-sort',
141141
pduCliArgs: ['--no-sort'],
142142
competitors: [
143-
['du', '-l'],
143+
['du', '--count-links'],
144144
['dua', '--count-hard-links'],
145145
['ncdu', '-o', '/dev/stdout', '-0'],
146146
['gdu', '--count-links', '--non-interactive', '--no-progress'],
@@ -153,7 +153,7 @@ export const COMPETING_BENCHMARK_MATRIX: readonly CompetingBenchmarkCategory[] =
153153
['dua', '--count-hard-links'],
154154
['ncdu', '-o', '/dev/null', '-0'],
155155
['gdu', '--count-links', '--non-interactive', '--no-progress'],
156-
['du', '-l', '--summarize'],
156+
['du', '--count-links', '--summarize'],
157157
],
158158
},
159159
{

0 commit comments

Comments
 (0)