This is an archive of the discontinued LLVM Phabricator instance.

[exegesis] Analysis: filtering for benchmark results
ClosedPublic

Authored by lebedev.ri on Dec 28 2022, 11:36 AM.

Details

Summary

By default, all benchmark results are analysed, but sometimes it may be useful
to only look at those that to not involve memory, or vice versa. This option
allows to either keep all benchmarks, or filter out (ignore) either all the
ones that do involve memory (involve instructions that may read or write to
memory), or the opposite, to only keep such benchmarks.

Personally, so far i have found the benchmarks that do involve memory
to have dubious results. But the ones that do not involve memory,
are generally actionable. So i would like to have a toggle to declutter results.

Diff Detail

Event Timeline

lebedev.ri created this revision.Dec 28 2022, 11:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 28 2022, 11:36 AM
Herald added a subscriber: mstojanovic. · View Herald Transcript
lebedev.ri requested review of this revision.Dec 28 2022, 11:36 AM
courbet accepted this revision.Jan 4 2023, 9:18 AM

Nice, thanks.

llvm/tools/llvm-exegesis/llvm-exegesis.cpp
526

[nit] "filtered out by user" or "filtered out" to be consistent with naming above and clearer about why the point was ignored ?

This revision is now accepted and ready to land.Jan 4 2023, 9:18 AM

Nice, thanks.

Thank you for the review!

This revision was automatically updated to reflect the committed changes.