Search in sources :

Example 56 with OptionsBuilder

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

the class DefaultPortableReaderPerformanceTest method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(DefaultPortableReaderPerformanceTest.class.getSimpleName()).warmupIterations(WARMUP_ITERATIONS_COUNT).warmupTime(TimeValue.milliseconds(2)).measurementIterations(MEASUREMENT_ITERATIONS_COUNT).measurementTime(TimeValue.milliseconds(2)).verbosity(VerboseMode.NORMAL).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 57 with OptionsBuilder

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

the class QueryPerformanceTest method main.

public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(QueryPerformanceTest.class.getSimpleName()).warmupIterations(WARMUP_ITERATIONS_COUNT).warmupTime(TimeValue.milliseconds(2)).measurementIterations(MEASUREMENT_ITERATIONS_COUNT).measurementTime(TimeValue.milliseconds(2)).verbosity(VerboseMode.NORMAL).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 58 with OptionsBuilder

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

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

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

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