Files
carbon-lang/scripts
Chandler Carruth 6d34bc8781 TODO: Write PR description for Bencher BMF export and suite runner.
Notes to mention:
- Extends `scripts/bench_runner.py` with `--output=bmf`, `--output_file`, `--benchmark_prefix`, and `--no_extra_metrics` (routing Rich progress/log output to `stderr` when emitting structured JSON/BMF).
- Exports `latency` in nanoseconds (`real_time` for `/real_time` or `--wall_time`, `cpu_time` otherwise) plus opted-in extra counters using non-parametric medians and `quantile_test` confidence intervals (omitting interval bounds when non-finite for small sample counts and enforcing `allow_nan=False`).
- Adds `toolchain/benchmarking/bencher_suites.py` and `toolchain/benchmarking/run_bencher.py` (with unit tests) to configure `prelude_benchmark` and in-process `compile_benchmark` (`<target_name>::` prefixes, `PRELUDE_MEM_METRICS` allowlist, continuous vs. nightly size filters, `--targets-file` intersection, strict BMF schema/allowlist validation, and PR vs. trunk threshold profiles).

Assisted-by: Antigravity with Gemini
2026-11-07 04:34:42 +00:00
..
2026-10-03 03:25:59 +00:00