use of org.openjdk.jmh.runner.options.Options in project hive by apache.
the class LazySimpleSerDeBench method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(".*" + LazySimpleSerDeBench.class.getSimpleName() + ".*").build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.options.Options in project h2o-3 by h2oai.
the class KeyEqualsBench method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(KeyEqualsBench.class.getSimpleName()).addProfiler(StackProfiler.class).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.options.Options in project cassandra by apache.
the class MutationBench method main.
public static void main(String... args) throws Exception {
Options opts = new OptionsBuilder().include(".*" + MutationBench.class.getSimpleName() + ".*").jvmArgs("-server").forks(1).mode(Mode.Throughput).addProfiler(StackProfiler.class).build();
Collection<RunResult> records = new Runner(opts).run();
for (RunResult result : records) {
Result r = result.getPrimaryResult();
System.out.println("API replied benchmark score: " + r.getScore() + " " + r.getScoreUnit() + " over " + r.getStatistics().getN() + " iterations");
}
}
use of org.openjdk.jmh.runner.options.Options 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();
}
use of org.openjdk.jmh.runner.options.Options 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();
}
Aggregations