Package io.trino.jmh
Class Benchmarks.BenchmarkBuilder
- java.lang.Object
-
- io.trino.jmh.Benchmarks.BenchmarkBuilder
-
- Enclosing class:
- Benchmarks
public static class Benchmarks.BenchmarkBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Benchmarks.BenchmarkBuilderincludeAll()Benchmarks.BenchmarkBuilderincludeMethod(String benchmarkMethod)Collection<org.openjdk.jmh.results.RunResult>run()Benchmarks.BenchmarkBuilderwithOptions(Consumer<org.openjdk.jmh.runner.options.ChainedOptionsBuilder> optionsConsumer)
-
-
-
Method Detail
-
withOptions
public Benchmarks.BenchmarkBuilder withOptions(Consumer<org.openjdk.jmh.runner.options.ChainedOptionsBuilder> optionsConsumer)
-
includeAll
public Benchmarks.BenchmarkBuilder includeAll()
-
includeMethod
public Benchmarks.BenchmarkBuilder includeMethod(String benchmarkMethod)
-
run
public Collection<org.openjdk.jmh.results.RunResult> run() throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-