Search in sources :

Example 1 with OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project kafka by apache.

the class LRUCacheBenchmark method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(LRUCacheBenchmark.class.getSimpleName()).forks(2).build();
    new Runner(opt).run();
}
Also used : Options(org.openjdk.jmh.runner.options.Options) Runner(org.openjdk.jmh.runner.Runner) OptionsBuilder(org.openjdk.jmh.runner.options.OptionsBuilder)

Example 2 with OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project hive by apache.

the class ColumnarStorageBench method main.

public static void main(String[] args) throws Exception {
    Options opt = new OptionsBuilder().include(ColumnarStorageBench.class.getSimpleName()).warmupIterations(1).measurementIterations(1).forks(1).build();
    new Runner(opt).run();
}
Also used : Options(org.openjdk.jmh.runner.options.Options) Runner(org.openjdk.jmh.runner.Runner) OptionsBuilder(org.openjdk.jmh.runner.options.OptionsBuilder)

Example 3 with OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project hive by apache.

the class VectorizedArithmeticBench method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(".*" + VectorizedArithmeticBench.class.getSimpleName() + ".*").build();
    new Runner(opt).run();
}
Also used : Options(org.openjdk.jmh.runner.options.Options) Runner(org.openjdk.jmh.runner.Runner) OptionsBuilder(org.openjdk.jmh.runner.options.OptionsBuilder)

Example 4 with OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project hive by apache.

the class VectorizedComparisonBench method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(".*" + VectorizedComparisonBench.class.getSimpleName() + ".*").build();
    new Runner(opt).run();
}
Also used : Options(org.openjdk.jmh.runner.options.Options) Runner(org.openjdk.jmh.runner.Runner) OptionsBuilder(org.openjdk.jmh.runner.options.OptionsBuilder)

Example 5 with OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project hive by apache.

the class VectorizedLikeBench method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(".*" + VectorizedLikeBench.class.getSimpleName() + ".*").build();
    new Runner(opt).run();
}
Also used : Options(org.openjdk.jmh.runner.options.Options) Runner(org.openjdk.jmh.runner.Runner) OptionsBuilder(org.openjdk.jmh.runner.options.OptionsBuilder)

Aggregations

OptionsBuilder (org.openjdk.jmh.runner.options.OptionsBuilder)73 Runner (org.openjdk.jmh.runner.Runner)71 Options (org.openjdk.jmh.runner.options.Options)68 StackProfiler (org.openjdk.jmh.profile.StackProfiler)7 ChainedOptionsBuilder (org.openjdk.jmh.runner.options.ChainedOptionsBuilder)4 RunResult (org.openjdk.jmh.results.RunResult)3 File (java.io.File)1 ArrayList (java.util.ArrayList)1 Mode (org.openjdk.jmh.annotations.Mode)1 BenchmarkParams (org.openjdk.jmh.infra.BenchmarkParams)1 GCProfiler (org.openjdk.jmh.profile.GCProfiler)1 Result (org.openjdk.jmh.results.Result)1 RunnerException (org.openjdk.jmh.runner.RunnerException)1 Statistics (org.openjdk.jmh.util.Statistics)1