-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
Description
- JMH allows for parameterized tests -- see example below where
queryIndexis a parameter:
Benchmark (queryIndex) Mode Cnt Score Error Units
ParserBenchmark.parseSuccess 0 avgt 3 15.148 ± 0.616 us/op
ParserBenchmark.parseSuccess 1 avgt 3 85.174 ± 4.559 us/op
...
- The
jmhtool doesn't support parameters, and all of the parameter runs get placed within a single benchmark. See below.
To Reproduce
- Add the JMH @param annotation to the benchmark with the arguments
- Run the GH workflow after running JMH
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
