Refine search
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(TimeParseBenchmark.class.getSimpleName()) .warmupIterations(1) .measurementIterations(10) .forks(1) .build(); new Runner(opt).run(); } }
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(FlattenJSONBenchmark.class.getSimpleName()) .build(); new Runner(opt).run(); } }
public static void main(String[] args) throws Exception { Options opt = new OptionsBuilder() .addProfiler("gc") .include(".*" + StringOpBenchmarks.class.getSimpleName() + ".*test.*") .build(); new Runner(opt).run(); } }
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(BeansBenchmark.class.getSimpleName()) .addProfiler(GCProfiler.class) .detectJvmArgs() .build(); new Runner(opt).run(); } }
ChainedOptionsBuilder optionsBuilder = createCommonOptionsBuilder(clazz, testName, params, timeUnit, profileGC); optionsBuilder = optionsBuilder .forks(1) .threads(threads) .warmupIterations(10) .measurementIterations(10); assertions.accept(new Runner(optionsBuilder.build()).runSingle()); } else { ChainedOptionsBuilder optionsBuilder = createCommonOptionsBuilder(clazz, testName, params, timeUnit, profileGC); .warmupIterations(0) .measurementIterations(1); new Runner(optionsBuilder.build()).runSingle();
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(FindCountOfOccurrencesBenchmark.class.getSimpleName()) .build(); new Runner(opt).run(); } }
public static void main(String[] args) throws Exception { Options opt = new OptionsBuilder() .addProfiler("stack") .include(".*" + OnMethodTemplateBenchmark.class.getSimpleName() + ".*test.*") .build(); new Runner(opt).run(); } }
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(); } }
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(ConvertStringToInputStreamBenchmark.class.getSimpleName()) .build(); new Runner(opt).run(); }
public static void main(String[] args) throws Exception { Options opt = new OptionsBuilder() .addProfiler("stack") .include(".*" + StatsdBenchmarks.class.getSimpleName() + ".*test.*") .build(); new Runner(opt).run(); } }
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(); } }
public static void main(final String[] args) throws Exception { final Options opt = new OptionsBuilder() // Register our benchmarks. .include(JacksonBenchmark.class.getSimpleName()) .build(); new Runner(opt).run(); } }
public static void main(String[] args) throws Exception { Options opt = new OptionsBuilder() .addProfiler("stack") .include(".*" + ProbeLoadingBenchmark.class.getSimpleName() + ".*test.*") .build(); new Runner(opt).run(); } }
public static void main(String[] args) throws Exception { ChainedOptionsBuilder opt = new OptionsBuilder().include(BenchmarkDictionary.class.getSimpleName()).warmupTime(TimeValue.seconds(60)) .warmupIterations(8).measurementTime(TimeValue.seconds(60)).measurementIterations(8).forks(5); new Runner(opt.build()).run(); } }