Race -L and the file list in the benchmark suite
The numbers for -L and for a long file list lived in a scratch harness, so nothing in the repository would fail if either regressed. The lines suite now races -L at 1M and 10M lines against every oracle, and ends with 128 files holding 12.8M lines counted in one invocation, which is where the worker pool lives. The file-list check compares the row count and the total row's numbers rather than the whole output: busybox and toybox pad their columns differently, and an exact string compare would fail on their formatting instead of on our arithmetic.
This commit is contained in:
@@ -257,9 +257,11 @@ cases allow a 2% dead-heat margin so a genuine tie can't flake — but a
|
||||
real loss writes a shame report, fails the suite, and exits non-zero.
|
||||
The words suite grows to 1M and 10M lines; the lines suite carries the
|
||||
monsters: 100M lines raced against coreutils, and 1B lines timed solo
|
||||
— there is no reference for that one; we are the reference now. When
|
||||
the run ends, the average speedup of fastwc against each oracle is
|
||||
printed.
|
||||
— there is no reference for that one; we are the reference now. The
|
||||
lines suite also races `-L` at 1M and 10M lines, and ends with a
|
||||
128-file list (12.8M lines) so the worker pool is under the contract
|
||||
too, not just in some table in this file. When the run ends, the
|
||||
average speedup of fastwc against each oracle is printed.
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user