Search in sources :

Example 6 with OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project presto by prestodb.

the class BenchmarkMapSubscript method main.

public static void main(String[] args) throws Throwable {
    // assure the benchmarks are valid before running
    BenchmarkData data = new BenchmarkData();
    data.setup();
    new BenchmarkMapSubscript().mapSubscript(data);
    Options options = new OptionsBuilder().verbosity(VerboseMode.NORMAL).warmupMode(WarmupMode.INDI).include(".*" + BenchmarkMapSubscript.class.getSimpleName() + ".*").build();
    new Runner(options).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 OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project presto by prestodb.

the class BenchmarkRoundFunction method main.

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

Example 8 with OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project presto by prestodb.

the class BenchmarkArrayFilter method main.

public static void main(String[] args) throws Throwable {
    // assure the benchmarks are valid before running
    BenchmarkData data = new BenchmarkData();
    data.setup();
    new BenchmarkArrayFilter().benchmark(data);
    Options options = new OptionsBuilder().verbosity(VerboseMode.NORMAL).include(".*" + BenchmarkArrayFilter.class.getSimpleName() + ".*").build();
    new Runner(options).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 OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project presto by prestodb.

the class BenchmarkArrayHashCodeOperator method main.

public static void main(String[] args) throws Throwable {
    // assure the benchmarks are valid before running
    BenchmarkData data = new BenchmarkData();
    data.setup();
    new BenchmarkArrayHashCodeOperator().arrayHashCode(data);
    Options options = new OptionsBuilder().verbosity(VerboseMode.NORMAL).warmupMode(WarmupMode.BULK).include(".*" + BenchmarkArrayHashCodeOperator.class.getSimpleName() + ".*").build();
    new Runner(options).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 OptionsBuilder

use of org.openjdk.jmh.runner.options.OptionsBuilder in project presto by prestodb.

the class BenchmarkArraySort method main.

public static void main(String[] args) throws Throwable {
    // assure the benchmarks are valid before running
    BenchmarkData data = new BenchmarkData();
    data.setup();
    new BenchmarkArraySort().arraySort(data);
    Options options = new OptionsBuilder().verbosity(VerboseMode.NORMAL).include(".*" + BenchmarkArraySort.class.getSimpleName() + ".*").build();
    new Runner(options).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)84 Runner (org.openjdk.jmh.runner.Runner)79 Options (org.openjdk.jmh.runner.options.Options)76 StackProfiler (org.openjdk.jmh.profile.StackProfiler)7 ChainedOptionsBuilder (org.openjdk.jmh.runner.options.ChainedOptionsBuilder)7 File (java.io.File)3 RunResult (org.openjdk.jmh.results.RunResult)3 ArrayList (java.util.ArrayList)2 GCProfiler (org.openjdk.jmh.profile.GCProfiler)2 LinuxPerfAsmProfiler (org.openjdk.jmh.profile.LinuxPerfAsmProfiler)2 LinuxPerfProfiler (org.openjdk.jmh.profile.LinuxPerfProfiler)2 GraknSystemProperty (ai.grakn.GraknSystemProperty)1 CacheAtomicityMode (org.apache.ignite.cache.CacheAtomicityMode)1 CacheWriteSynchronizationMode (org.apache.ignite.cache.CacheWriteSynchronizationMode)1 JmhIdeBenchmarkRunner (org.apache.ignite.internal.benchmarks.jmh.runner.JmhIdeBenchmarkRunner)1 Mode (org.openjdk.jmh.annotations.Mode)1 BenchmarkParams (org.openjdk.jmh.infra.BenchmarkParams)1 Result (org.openjdk.jmh.results.Result)1 RunnerException (org.openjdk.jmh.runner.RunnerException)1 Statistics (org.openjdk.jmh.util.Statistics)1