Search in sources :

Example 51 with Options

use of org.openjdk.jmh.runner.options.Options in project useful-java-links by Vedenin.

the class ConvertStringToInputStreamBenchmark method main.

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

use of org.openjdk.jmh.runner.options.Options in project useful-java-links by Vedenin.

the class FindCountOfOccurrencesBenchmark method main.

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

use of org.openjdk.jmh.runner.options.Options in project useful-java-links by Vedenin.

the class IterateThroughHashMapTest method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(IterateThroughHashMapTest.class.getSimpleName()).timeUnit(TimeUnit.MICROSECONDS).warmupIterations(3).measurementIterations(5).param("size", "100", /*"500","900","1300","1700","2100","2500","5000","10000","15000","20000","25000" ,*/
    "30000").forks(1).mode(Mode.AverageTime).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 54 with Options

use of org.openjdk.jmh.runner.options.Options in project useful-java-links by Vedenin.

the class ConvertBigStringToInputStreamBenchmark method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(ConvertStringToInputStreamBenchmark.class.getSimpleName()).timeUnit(TimeUnit.MICROSECONDS).warmupIterations(5).measurementIterations(50).forks(1).mode(Mode.AverageTime).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 55 with Options

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

the class BenchmarkOrcDecimalReader method main.

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

Runner (org.openjdk.jmh.runner.Runner)76 Options (org.openjdk.jmh.runner.options.Options)76 OptionsBuilder (org.openjdk.jmh.runner.options.OptionsBuilder)76 StackProfiler (org.openjdk.jmh.profile.StackProfiler)6 GCProfiler (org.openjdk.jmh.profile.GCProfiler)2 LinuxPerfAsmProfiler (org.openjdk.jmh.profile.LinuxPerfAsmProfiler)2 LinuxPerfProfiler (org.openjdk.jmh.profile.LinuxPerfProfiler)2 RunResult (org.openjdk.jmh.results.RunResult)2 CacheAtomicityMode (org.apache.ignite.cache.CacheAtomicityMode)1 CacheWriteSynchronizationMode (org.apache.ignite.cache.CacheWriteSynchronizationMode)1 JmhIdeBenchmarkRunner (org.apache.ignite.internal.benchmarks.jmh.runner.JmhIdeBenchmarkRunner)1 Result (org.openjdk.jmh.results.Result)1 Statistics (org.openjdk.jmh.util.Statistics)1