diff options
| author | pes7 <pes7@users.noreply.github.com> | 2026-11-23 21:09:20 +0400 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-25 11:33:51 +0000 |
| commit | 4c70aeaf76942a02532a91f96e0f51ac20123d6d (patch) | |
| tree | 85eb3e0a94a14bf832e5fc0d6720ba550cf73552 /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | 03a92eecd067805299935d747d4d60def54b97e6 (diff) | |
bench_translate: honour --max-slowdown in --json too, and let a run save its own baseline
Reported on #7056: --json returned before the limit was evaluated, so a job that collects JSON read a success code for
a run whose numbers were all over the limit. The limit is now evaluated once, before either format prints, and the
JSON carries over_limit; both formats return 1.
The committed BASELINE is one machine's numbers, so --max-slowdown against it fails on any other machine with no
regression in it. --write-baseline FILE records this run, --baseline FILE compares against it (JSON reports
baseline_source), and the text output names which baseline it used.
Tests: the limit is checked in both formats (exit 1, over_limit non-empty), and a written baseline round-trips
(exit 0 at 5x, baseline keys equal to measured keys).
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions