Package jenkins.benchmark.jmh
Annotation Type JmhBenchmark
-
@Target(TYPE) @Retention(RUNTIME) @Indexed public @interface JmhBenchmark
Annotate your benchmark classes with this annotation to allow them to be discovered byBenchmarkFinder
- Since:
- 2.50
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
value
Methods which annotated byBenchmark
in classes annotated byJmhBenchmark
are to be run as benchmarks if they match this regex pattern.
-
-
-
Element Detail
-
value
String value
Methods which annotated byBenchmark
in classes annotated byJmhBenchmark
are to be run as benchmarks if they match this regex pattern.Matches all functions by default, i.e. default pattern is
.*
.- Returns:
- the regular expression used to match function names.
- Default:
- ".*"
-
-