Skip to content

ci(bench): compare each run with the last 30 runs, not all history - #568

Merged
adityamukho merged 1 commit into
mainfrom
ci/bench-threshold-window
Oct 13, 2026
Merged

adityamukho merged 1 commit into
mainfrom
ci/bench-threshold-window

Conversation

@adityamukho

Copy link
Copy Markdown
Collaborator

Adds --threshold-max-sample-size 30 to the Bencher t-test in bench.yml.

Why. The t-test compared each run with every sample since May, so a correct step change kept alerting for weeks:

Window size. I replayed main's Bencher history through the same t-test. With all history, predicate_pushdown alerts indefinitely. With 30 runs, a lasting step still alerts on two nights in a row (so the issue is opened), then becomes the baseline after about five runs. Noise-only benches (insert_file) produced no alert pairs. --threshold-max-sample-size is in the pinned CLI (v0.4.25).

Touches different lines from #566 (issue titles), so the two should merge cleanly.

🤖 Generated with Claude Code

https://claude.ai/code/session_016QAt9R1aSPQG7rV5ouFDMU

Bencher's t-test used every sample since May, so a correct step change
kept alerting for weeks: query/predicate_pushdown/100k since #445
(#512, #495), and checkpoint/* and open/wal_replay/100k since #476's
backport stopped the drop-save that had made those fixtures no-ops
(#561, #562). Replaying main's history, a 30-run window still alerts on
two runs in a row for a lasting change, then takes it as the baseline
after about five runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016QAt9R1aSPQG7rV5ouFDMU
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
adityamukho merged commit 75ffc9b into main Oct 13, 2026
22 checks passed
@adityamukho
adityamukho deleted the ci/bench-threshold-window branch October 13, 2026 05:23
adityamukho added a commit that referenced this pull request Oct 13, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016QAt9R1aSPQG7rV5ouFDMU
adityamukho added a commit that referenced this pull request Oct 13, 2026
…h-branch

Merge main into v3: bench issue branch names (#566), Bencher window (#568), v2.0.5, v2.x fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant