use of org.openjdk.jmh.runner.options.Options 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();
}
use of org.openjdk.jmh.runner.options.Options in project useful-java-links by Vedenin.
the class ConvertBigStringToInputStreamBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(ConvertStringToInputStreamBenchmark.class.getSimpleName()).timeUnit(TimeUnit.MICROSECONDS).warmupIterations(5).measurementIterations(50).forks(1).mode(Mode.AverageTime).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.options.Options in project poi by apache.
the class AddImageBench method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(".*" + AddImageBench.class.getSimpleName() + ".*").addProfiler(StackProfiler.class).addProfiler(GCProfiler.class).forks(1).build();
new Runner(opt).run();
}
Aggregations