Skip to content

fix(bench): report hardware branch misses instead of grading them - #251

Merged
blackopsrepl merged 1 commit into
mainfrom
fix/gate-branch-misses-report-only
Nov 11, 2026
Merged

blackopsrepl merged 1 commit into
mainfrom
fix/gate-branch-misses-report-only

Conversation

@blackopsrepl

Copy link
Copy Markdown
Collaborator

Closes #250.

The hardware branch-misses counter was graded on the premise that the
hardware predictor does not depend on code addresses. It does: on main
0773934 vs v0.26.0, nearby_swap ran identical instructions and -0.3% wall
time but read +9.6% branch misses on four of five layouts, because the
list-cursor dispatch differs from v0.26.0 only by two removed address loads
and padding, which shifts its branch addresses in every layout.

Hardware cache and branch counters are reported only again; wall time,
hardware instructions, allocations and the layout-stable simulated counters
stay graded on the unchanged budget. Regrading the 0773934 run's recorded
measurements with this rule passes every case.

Closes #250
@blackopsrepl
blackopsrepl merged commit 4539f3e into main Nov 11, 2026
7 checks passed
@blackopsrepl
blackopsrepl deleted the fix/gate-branch-misses-report-only branch November 11, 2026 02:35
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.

fix(bench): hardware branch misses move with code addresses

1 participant