Skip to content

Add instruction / branch counts to BenchmarkJob reports#187

Open
topolarity wants to merge 2 commits intoJuliaCI:masterfrom
topolarity:ct/instruction-branch-counts
Open

Add instruction / branch counts to BenchmarkJob reports#187
topolarity wants to merge 2 commits intoJuliaCI:masterfrom
topolarity:ct/instruction-branch-counts

Conversation

@topolarity
Copy link

@topolarity topolarity commented Oct 1, 2024

A quick attempt to see what it would look like to integrate JuliaCI/BenchmarkTools.jl#375, which provides branch / instruction counts based on LinuxPerf.jl

We might have to twiddle with perf_event_paranoid (assuming that we can) to get it to <= 2 so that the process is allowed to monitor itself. We'll also have to consider whether contention for the PMU resources is going to be a problem - IIUC these are per-thread in most cases though so this should likely be OK?

@maleadt maleadt requested a review from vtjnash October 1, 2024 12:41
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