Add convolution runtime regression benchmark#477
Open
Peter1169 wants to merge 1 commit into
Open
Conversation
76107df to
6ec998c
Compare
6ec998c to
342495b
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.
Summary
This adds a JMH runtime-regression benchmark for the convolution matrix described in the BoofCV bounty page:
https://boofcv.org/index.php?title=Bounties#Convolution_Runtime_Regression_Tests
Bounty recipient: Peter1169.
The benchmark covers:
It uses throughput mode so the regression output is reported as ops/sec.
Verification
Using local Azul Zulu JDK 25 toolchain provisioned for Gradle:
./gradlew autogenerate./gradlew :main:boofcv-ip:compileBenchmarkJava./gradlew spotlessCheckI also ran short JMH smoke probes to confirm the benchmark is discovered and emits ops/sec:
BenchmarkConvolveRuntimeRegression.horizontal,STANDARD,GRAY_U8, width3:6051.170 ops/sBenchmarkConvolveRuntimeRegression.vertical,NORMALIZED,INTERLEAVED_F64, width7:2412.284 ops/sBenchmarkConvolveRuntimeRegression.convolve2D,NORMALIZED,INTERLEAVED_U16, width21:16.279 ops/s