Search in sources :

Example 6 with Options

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

the class VectorizedLogicBench method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(".*" + VectorizedLogicBench.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 7 with Options

use of org.openjdk.jmh.runner.options.Options in project crate by crate.

the class PreExecutionBenchmark method main.

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

Example 8 with Options

use of org.openjdk.jmh.runner.options.Options in project cglib by cglib.

the class BeansBenchmark method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(BeansBenchmark.class.getSimpleName()).addProfiler(GCProfiler.class).detectJvmArgs().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 9 with Options

use of org.openjdk.jmh.runner.options.Options in project metrics by dropwizard.

the class MeterBenchmark method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(".*" + MeterBenchmark.class.getSimpleName() + ".*").warmupIterations(3).measurementIterations(5).threads(4).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 10 with Options

use of org.openjdk.jmh.runner.options.Options in project druid by druid-io.

the class TimeParseBenchmark method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(TimeParseBenchmark.class.getSimpleName()).warmupIterations(1).measurementIterations(10).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)

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