Repository navigation
Support CPU instruction counting - #13
Merged
Merged
Conversation
paulcadman
force-pushed
the
cpu-instruction-count
branch
from
November 17, 2026 22:53
1c651e5 to
e4931bf
Compare
paulcadman
force-pushed
the
cpu-instruction-count
branch
from
November 18, 2026 09:56
ea35106 to
a9a2989
Compare
paulcadman
force-pushed
the
cpu-instruction-count
branch
from
November 18, 2026 10:14
a9a2989 to
6bd075b
Compare
paulcadman
marked this pull request as ready for review
November 18, 2026 10:18
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.
This PR adds support for reporting CPU instruction counts for benchmarks.
This helps when benchmarking code where heartbeats don't capture the work that the code is doing (e.g heavy GMP work). Wall-clock time also captures this, but CPU instruction count is more reliable.
Example - with the new
Minstr- i.e million instruction column: