From 2f09e969cd0d552a2b72d41f00aff0ff9ab095f1 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 00:14:36 +0000 Subject: [PATCH] CLAUDE.md: say when to use alternating benchmark runs Separately timed runs on the test VM drifted by up to about 20%: a cached-baseline comparison showed the benchmark queries 31% faster where alternating runs measured 12%. Give a number for "close calls". Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01736kJUqyDw9zM3Bkh2W2QT --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index dc24ea137..c3ad8bfba 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -38,7 +38,8 @@ The tools are in `bench/` on the `bench-tools` branch; see `bench/README.md`. Th the Geofabrik Nova Scotia extract, imported with `--meta` (convert PBF to XML with `osmium`). - **Performance:** run `bench/compare.py`. Don't re-time `master`; the baseline is cached. Use - `--no-cache` only for close calls. + `--no-cache` (alternating runs) when the expected difference is under about 25%: separately + timed runs can drift by up to about 20%. - **Correctness:** run `bench/fuzz.py` against `master`. Run a build against itself first to check that outputs are deterministic. - **Pruning or skipping changes** also need long-limit re-runs of queries that time out on