Skip to content

run: count-based baselines for a deterministic PR check - #20

Merged
thelastbackspace merged 1 commit into
mainfrom
feat/baseline
Nov 6, 2026
Merged

thelastbackspace merged 1 commit into
mainfrom
feat/baseline

Conversation

@thelastbackspace

Copy link
Copy Markdown
Owner

--save-baseline f.json records the median number of each call label per request for every route (from the one-at-a-time probe), plus N+1 / error problems. --baseline f.json compares and exits 1 when a route makes more calls or a new problem appears; fewer calls are reported as improvements.

Counts, not timings: on this shared machine the same run varied 2x in throughput, so timing gates would be flaky. Checked on the planted N+1 app: identical runs pass 3/3; a batched baseline vs the N+1 version fails with … 0 → 12 per request (an N+1?). Blocking findings are deliberately excluded (timing-based).

@thelastbackspace
thelastbackspace merged commit 0cce4e6 into main Nov 6, 2026
14 checks passed
@thelastbackspace
thelastbackspace deleted the feat/baseline branch November 6, 2026 20:30
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