Repository navigation
Report valgrind Ir per iteration - #581
Draft
tekknolagi wants to merge 2 commits into
Draft
tekknolagi wants to merge 2 commits into
tekknolagi wants to merge 2 commits into
Conversation
We're going to have to consider metrics other than time. The new
callgrind harness, for example, reports "Ir" (instructions). I
originally tried to kind of hack this in but I think it fits better as
an extensible `Metric` type thing.
Harnesses can now report other per-iteration metrics with
return_results(..., metrics: { name => { "bench" => [...] } }, primary_metric: name)
and have Metric describe how each one is displayed and compared.
Zero and report per-iteration Ir counts instead of one count for the whole benchmark run. This lets us see change over time, like the wall-time does (but Ir is less noisy). Valgrind hides its command line from the program, so the runner passes --callgrind-out-file in the VALGRIND_OPTS env var, where the harness can find it.
tekknolagi
force-pushed
the
mb-callgrind-ir
branch
from
November 18, 2026 23:31
372f1cc to
6942c05
Compare
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.
Uh oh!
There was an error while loading. Please reload this page.