use of org.openjdk.jmh.runner.options.OptionsBuilder 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();
}
use of org.openjdk.jmh.runner.options.OptionsBuilder 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();
}
use of org.openjdk.jmh.runner.options.OptionsBuilder 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.OptionsBuilder 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.OptionsBuilder 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");
}
}
Aggregations