use of org.openjdk.jmh.runner.options.OptionsBuilder in project metrics by dropwizard.
the class CounterBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(".*" + CounterBenchmark.class.getSimpleName() + ".*").warmupIterations(3).measurementIterations(5).threads(4).forks(1).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.options.OptionsBuilder in project metrics by dropwizard.
the class ReservoirBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(".*" + ReservoirBenchmark.class.getSimpleName() + ".*").warmupIterations(10).measurementIterations(10).addProfiler(GCProfiler.class).measurementTime(TimeValue.seconds(3)).timeUnit(TimeUnit.MICROSECONDS).mode(Mode.AverageTime).threads(4).forks(1).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.options.OptionsBuilder in project metrics by dropwizard.
the class SlidingTimeWindowReservoirsBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(".*" + SlidingTimeWindowReservoirsBenchmark.class.getSimpleName() + ".*").warmupIterations(10).measurementIterations(10).addProfiler(GCProfiler.class).measurementTime(TimeValue.seconds(3)).timeUnit(TimeUnit.MICROSECONDS).mode(Mode.AverageTime).forks(1).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.options.OptionsBuilder in project sulky by huxi.
the class ULIDBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(ULIDBenchmark.class.getSimpleName()).warmupIterations(5).measurementIterations(5).forks(1).build();
new Runner(opt).run();
}
Aggregations