mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-23 12:52:38 +00:00
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