Search in sources :

Example 41 with Options

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

the class MapJoinOneLongKeyBench method main.

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

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

the class VectorSelectOperatorBench method main.

/*
   * ============================== HOW TO RUN THIS TEST: ====================================
   *
   * You can run this test:
   *
   * a) Via the command line:
   *    $ mvn clean install
   *    $ java -jar target/benchmarks.jar VectorSelectOperatorBench -prof perf     -f 1 (Linux)
   *    $ java -jar target/benchmarks.jar VectorSelectOperatorBench -prof perfnorm -f 3 (Linux)
   *    $ java -jar target/benchmarks.jar VectorSelectOperatorBench -prof perfasm  -f 1 (Linux)
   *    $ java -jar target/benchmarks.jar VectorSelectOperatorBench -prof gc  -f 1 (allocation counting via gc)
   */
public static void main(String[] args) throws RunnerException {
    Options opt = new OptionsBuilder().include(VectorSelectOperatorBench.class.getSimpleName()).addProfiler(LinuxPerfProfiler.class).addProfiler(LinuxPerfNormProfiler.class).addProfiler(LinuxPerfAsmProfiler.class).build();
    new Runner(opt).run();
}
Also used : Options(org.openjdk.jmh.runner.options.Options) Runner(org.openjdk.jmh.runner.Runner) LinuxPerfProfiler(org.openjdk.jmh.profile.LinuxPerfProfiler) LinuxPerfAsmProfiler(org.openjdk.jmh.profile.LinuxPerfAsmProfiler) OptionsBuilder(org.openjdk.jmh.runner.options.OptionsBuilder)

Example 43 with Options

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

the class JacksonBenchmark method main.

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

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

the class LocatorBenchmark method main.

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

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

the class HelloWorldBenchmark method main.

public static void main(final String[] args) throws Exception {
    final Options opt = new OptionsBuilder().include(HelloWorldBenchmark.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)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