diff options
| author | pes7 <pes7@users.noreply.github.com> | 2026-11-24 00:06:14 +0400 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-25 11:33:51 +0000 |
| commit | 3bcb6212a22afe78c85900dbd93d40f1c3554d70 (patch) | |
| tree | ed0d4a3e8199e0b45e72350628b07aa5d216f30a /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | 4c70aeaf76942a02532a91f96e0f51ac20123d6d (diff) | |
bench_translate: --compare honours --max-slowdown, and a partial baseline no longer aborts
Both reported by @YordiLorenzo on #7056. --compare returned 0 whatever the limit said, although the help promises it in
every output format: the ratios are candidate/reference, so the limit now applies to them directly and a measurement
over it exits 1 with the factor printed. A baseline holding only some of the measurements raised KeyError in the text
output: the per-program line reads the baseline with .get() and says so when a measurement has none.
Two regression tests: --compare with --max-slowdown 0.01 over identical trees exits 1, and a corpus-only baseline
still prints every row. 7 tests, OK.
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions