public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(".*" + FloatHistogramBench.class.getSimpleName() + ".*") .resultFormat(ResultFormatType.CSV) .result("overall-results.csv") .addProfiler(StackProfiler.class) .addProfiler(GCProfiler.class) .build(); new Runner(opt).run(); }
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(".*" + Benchmark.class.getSimpleName() + ".*") .resultFormat(ResultFormatType.CSV) .result("results.csv") .addProfiler(GCProfiler.class) .addProfiler(StackProfiler.class) .build(); new Runner(opt).run(); }
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(CompareCountersWithOtherLibraries.class.getSimpleName()) .addProfiler(GCProfiler.class) .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(); } }
public static void main(String[] args) throws Exception { ChainedOptionsBuilder opt = new OptionsBuilder().include(BenchmarkStringDictionary.class.getSimpleName()).addProfiler(GCProfiler.class) .addProfiler(HotspotMemoryProfiler.class).warmupTime(TimeValue.seconds(60)).warmupIterations(8) .measurementTime(TimeValue.seconds(60)).measurementIterations(8).forks(5); new Runner(opt.build()).run(); } }
public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(".*" + TDigestBench.class.getSimpleName() + ".*") .resultFormat(ResultFormatType.CSV) .result("overall-results.csv") .addProfiler(GCProfiler.class) .build(); new Runner(opt).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkGroupedTypedHistogram.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .build(); new Runner(options).run(); }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkBoxedBoolean.class.getSimpleName() + ".*") .addProfiler("perfasm") .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .warmupMode(WarmupMode.BULK) .include(".*" + BenchmarkReferenceCountMap.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .jvmArgs("-XX:+UseG1GC") .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { // assure the benchmarks are valid before running BenchmarkData data = new BenchmarkData(); data.setup(); new BenchmarkGroupByHash().groupByHashPreCompute(data); new BenchmarkGroupByHash().addPagePreCompute(data); SingleChannelBenchmarkData singleChannelBenchmarkData = new SingleChannelBenchmarkData(); singleChannelBenchmarkData.setup(); new BenchmarkGroupByHash().bigintGroupByHash(singleChannelBenchmarkData); Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkGroupByHash.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .jvmArgs("-Xmx10g") .build(); new Runner(options).run(); } }
private ChainedOptionsBuilder createCommonOptionsBuilder(Class clazz, String testName, Map<String, String[]> params, TimeUnit timeUnit, boolean profileGC) { ChainedOptionsBuilder optionsBuilder = new OptionsBuilder(); optionsBuilder = optionsBuilder .include(clazz.getSimpleName() + "." + testName + "$") .timeUnit(timeUnit); if (profileGC) { optionsBuilder = optionsBuilder.addProfiler(GCProfiler.class); } for (Entry<String, String[]> entries : params.entrySet()) { optionsBuilder = optionsBuilder.param(entries.getKey(), entries.getValue()); } return optionsBuilder; }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkQuantileDigest.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkGroupedTypedHistogram.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .build(); new Runner(options).run(); }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkBoxedBoolean.class.getSimpleName() + ".*") .addProfiler("perfasm") .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkBoxedBoolean.class.getSimpleName() + ".*") .addProfiler("perfasm") .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkGroupedTypedHistogram.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .build(); new Runner(options).run(); }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .include(".*" + BenchmarkQuantileDigest.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .warmupMode(WarmupMode.BULK) .include(".*" + BenchmarkReferenceCountMap.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .jvmArgs("-XX:+UseG1GC") .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .warmupMode(WarmupMode.BULK) .include(".*" + BenchmarkReferenceCountMap.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .jvmArgs("-XX:+UseG1GC") .build(); new Runner(options).run(); } }
public static void main(String[] args) throws RunnerException { Options options = new OptionsBuilder() .verbosity(VerboseMode.NORMAL) .warmupMode(WarmupMode.BULK) .include(".*" + BenchmarkReferenceCountMap.class.getSimpleName() + ".*") .addProfiler(GCProfiler.class) .jvmArgs("-XX:+UseG1GC") .build(); new Runner(options).run(); } }