Repository navigation
Check that paired footprint runs measure the same programs - #1507
Merged
Merged
Conversation
added 2 commits
December 3, 2026 18:38
The workload record carries the call count and total source bytes, which an edit that keeps a fixture's length, or a reordering, leaves unchanged. Add an FNV-1a digest of the ordered program names and sources, each length-framed so bytes moved across a boundary change it too. VIBE-239
A paired run compared only the call count and source bytes, so a fixture edited without changing its length, or reordered, would let the report attribute a workload difference to the compiler change. Compare the digest too, and name the differing key in the failure. A baseline from before the digest is rejected rather than taken as matching. VIBE-239
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Collaborator
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A paired
scripts/footprint.py --baselinerun checked only that both revisions made 1,000 calls over the same total source bytes. An edit that keeps a fixture's length, or a reordering of the programs, passed that check, so the report could credit a workload change to the compiler change. Changingsing(99)tosing(19)in one fixture kept all 159,089 bytes but cut steps from 8,862,340 to 8,700,740, and the old check would have reported that as a speedup.The footprint example now records a digest of the ordered program names and sources in its workload: FNV-1a, as
examples/compare.rsuses for outputs, with each name and source length-framed so bytes moved across a boundary change it too. The driver compares the digest with the call count and source bytes, and names the key that differs. A baseline from before the digest has none and is rejected, not taken as matching.VIBE-239