use of org.openjdk.jmh.runner.options.Options in project useful-java-links by Vedenin.
the class ConvertStringToInputStreamBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(ConvertStringToInputStreamBenchmark.class.getSimpleName()).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.options.Options in project useful-java-links by Vedenin.
the class FindCountOfOccurrencesBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(FindCountOfOccurrencesBenchmark.class.getSimpleName()).build();
new Runner(opt).run();
}
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 presto by prestodb.
the class BenchmarkOrcDecimalReader method main.
public static void main(String[] args) throws Throwable {
// assure the benchmarks are valid before running
BenchmarkData data = new BenchmarkData();
data.setup();
new BenchmarkOrcDecimalReader().readDecimal(data);
Options options = new OptionsBuilder().verbosity(VerboseMode.NORMAL).include(".*" + BenchmarkOrcDecimalReader.class.getSimpleName() + ".*").build();
new Runner(options).run();
}
Aggregations