Artifact 41041a7c5846e61f24378711ad6bfbb6b0d6266d28b1da63adf0dc51dc908f89:
- File bench/results/README.md — part of check-in [fa2448c6d2] at 2026-11-12 14:21:57 on branch benchmarks-page — Publish a benchmarks page generated from result files, with what each result is compared with and what it means (user: dmestas, size: 1082) [annotate] [blame] [check-ins using] [more...]
Benchmark results
Each benchmark writes one file here, NAME.json, and the public page
docs/benchmarks.md is generated from these files. No figure on the page is typed by hand.
A result file is a JSON object with exactly these keys: name (the file name without
.json), title, section (Search, Agent behaviour, Rules, Records, Speed or Safety),
order (optional integer, default 100), date and good_until (YYYY-MM-DD), commit
and command (strings, may be empty), conditions (object of strings, may be empty),
summary, metrics (non-empty list of {label, value, note}, note optional), and
optionally bar (the pass bar set before the run) and verdict (pass, fail or none).
Unknown keys, missing keys, wrong types and bad dates are errors.
python3 tools/bench_page.py # write docs/benchmarks.md
python3 tools/bench_page.py --check # fail if the page is out of step
make bench-page writes the page; make check runs the check with the real date, so a
result past its good_until date changes the page until it is regenerated.