Release notes: 2026-05-27 — bench-adaptive-timing-runs¶
Status: Ready for review
Repo: li-langverse/lic
PR: (branch cursor/bench-adaptive-timing-runs-ce9b)
PH / REQ: PH-5b, PH-7e
Summary¶
Tier-1 harness scales timed repetitions to at least 20 samples (or ~1s aggregate) for sub-millisecond micro-benches so medians and spread are statistically usable.
Agent continuation¶
- Read:
docs/ecosystem/bench-timing-runs.md,benchmarks/results/README.md. - Run:
BENCH_TIMING_VERBOSE=1 BENCH_MIN_RUNS=20 python3 benchmarks/harness/bench.py --tier 1 --only horner_pure_li(after./scripts/build.sh). - Then: Re-ingest benchmarks dashboard; fix ULP validity on
horner_pure_li/reduce_sumif still red. - Blocked on: none for harness; merge requires human review.
Changed¶
| Area | What | Evidence |
|---|---|---|
| Harness | resolve_timing_runs, adaptive time_command | benchmarks/harness/bench.py |
| Docs | Env table for BENCH_MIN_RUNS | docs/ecosystem/bench-timing-runs.md |
Not changed¶
- LLVM codegen / horner kernel math — not in this PR
- Dashboard
summary.json— refresh in benchmarks follow-up - CI
ci-bench.shstill uses--runs 1
Breaking changes¶
None.
Security¶
N/A — timing harness only.
Performance¶
N/A for merge claims — full-suite wall time increases when BENCH_MIN_RUNS=20; CI fast path unchanged.
Downstream¶
| Repo | Action |
|---|---|
| benchmarks | Export BENCH_MIN_RUNS already in run-full-benchmark-suite.sh |
CHANGELOG entry¶
Changed¶
- Bench timing: adaptive repetitions (
BENCH_MIN_RUNSdefault 20 in org full suite) —docs/release-notes/2026-05-27-bench-adaptive-timing-runs.md.