Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make perf. counter stats optional in BenchmarkStats #1469

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Oct 17, 2022

This enables running runtime benchmarks even in environments that do not fully support perf. event counters (like CI). Basically it just avoids an unwrap and makes the perf. counter stats optional in runtime benchmark results.

It's still needed to have perf working and "openable" because we construct a counter group, but it's no longer needed to have all of the measured perf. counters available on the benchmarked machine.

Copy link
Contributor

@nnethercote nnethercote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me with the small changes suggested.

This enables to run runtime benchmarks even in environments that do not support perf. event profiling fully (like CI).
@Kobzol Kobzol force-pushed the runtime-optional-perf-counters branch from 5bf4260 to 142a732 Compare October 18, 2022 09:51
@Kobzol Kobzol enabled auto-merge October 18, 2022 09:51
@Kobzol Kobzol merged commit baa4ce2 into master Oct 18, 2022
@Kobzol Kobzol deleted the runtime-optional-perf-counters branch October 18, 2022 10:00
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.

2 participants