Skip to content

[hist] Add first microbenchmark for RRegularAxis #19458

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hahnjo
Copy link
Member

@hahnjo hahnjo commented Jul 24, 2025

In ROOT, we traditionally had benchmarks separated in the rootbench repository. However, for the new histv7 package, they should evolve together with the code. Therefore this commit introduces a benchmark subdirectory, which is only built with the "hidden" configuration flag histv7_benchmark.

For the standalone build, there is a new option BUILD_BENCHMARK. If enabled (the default) and the benchmark dependency is found, building will also produce all benchmark binaries.

@hahnjo hahnjo requested review from jblomer and bellenot July 24, 2025 15:16
@hahnjo hahnjo self-assigned this Jul 24, 2025
@hahnjo hahnjo requested a review from dpiparo as a code owner July 24, 2025 15:16
Copy link

github-actions bot commented Jul 24, 2025

Test Results

    21 files      21 suites   3d 8h 6m 17s ⏱️
 3 218 tests  3 214 ✅ 0 💤 4 ❌
65 859 runs  65 855 ✅ 0 💤 4 ❌

For more details on these failures, see this check.

Results for commit 4e93e3b.

♻️ This comment has been updated with latest results.

hahnjo added 2 commits July 25, 2025 09:44
In ROOT, we traditionally had benchmarks separated in the rootbench
repository. However, for the new histv7 package, they should evolve
together with the code. Therefore this commit introduces a benchmark
subdirectory, which is only built with the "hidden" configuration
flag histv7_benchmark.

For the standalone build, there is a new option BUILD_BENCHMARK. If
enabled (the default) and the benchmark dependency is found, building
will also produce all benchmark binaries.
@silverweed
Copy link
Contributor

Should the option be off by default? After all one only wants to enable it when specifically running the benchmarks, which is a very rare occasion in general

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.

3 participants