Search in sources :

Example 1 with Options

use of org.openjdk.jmh.runner.options.Options 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 Options

use of org.openjdk.jmh.runner.options.Options 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 Options

use of org.openjdk.jmh.runner.options.Options 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 Options

use of org.openjdk.jmh.runner.options.Options 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 Options

use of org.openjdk.jmh.runner.options.Options 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

Runner (org.openjdk.jmh.runner.Runner)68 Options (org.openjdk.jmh.runner.options.Options)68 OptionsBuilder (org.openjdk.jmh.runner.options.OptionsBuilder)68 StackProfiler (org.openjdk.jmh.profile.StackProfiler)6 RunResult (org.openjdk.jmh.results.RunResult)2 GCProfiler (org.openjdk.jmh.profile.GCProfiler)1 Result (org.openjdk.jmh.results.Result)1 Statistics (org.openjdk.jmh.util.Statistics)1