use of org.openjdk.jmh.runner.Runner in project cglib by cglib.
the class BeansBenchmark method main.
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();
}
use of org.openjdk.jmh.runner.Runner in project crate by crate.
the class PreExecutionBenchmark method main.
public static void main(String[] args) throws RunnerException {
Options opt = new OptionsBuilder().include(PreExecutionBenchmark.class.getSimpleName()).addProfiler(GCProfiler.class).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.Runner in project pinot by linkedin.
the class BenchmarkFileRead method main.
/* @Benchmark
@BenchmarkMode({Mode.SampleTime})
@OutputTimeUnit(TimeUnit.MILLISECONDS)
public void readUnpacks() {
int rows = 25000000;
int columnSizeInBits = 3;
boolean isMMap = false;
boolean hasNulls = false;
int output[] = new int[rows];
final int outputBytes = MathUtils.lcm(32, columnSizeInBits) / columnSizeInBits;
final int inputBytes = MathUtils.lcm(32, columnSizeInBits) / 32;
int destPos = 0;
int inPos = 0;
byteBuffer.rewind();
int[] input = new int[length / 4];
byteBuffer.asIntBuffer().get(input);
for (int i = 0; i < (length / 4) / inputBytes; i++) {
BitPacking.fastunpack(input, inPos, output, destPos, columnSizeInBits);
destPos += outputBytes;
inPos += inputBytes;
}
}*/
public static void main(String[] args) throws Exception {
Options opt = new OptionsBuilder().include(BenchmarkFileRead.class.getSimpleName()).forks(1).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.Runner in project pinot by linkedin.
the class BenchmarkFileWrite method main.
public static void main(String[] args) throws Exception {
Options opt = new OptionsBuilder().include(BenchmarkFileWrite.class.getSimpleName()).forks(1).build();
new Runner(opt).run();
}
use of org.openjdk.jmh.runner.Runner in project pinot by linkedin.
the class BenchmarkQueryEngine method main.
public static void main(String[] args) throws Exception {
ChainedOptionsBuilder opt = new OptionsBuilder().include(BenchmarkQueryEngine.class.getSimpleName()).warmupTime(TimeValue.seconds(30)).warmupIterations(4).measurementTime(TimeValue.seconds(30)).measurementIterations(20);
if (ENABLE_PROFILING) {
opt = opt.addProfiler(StackProfiler.class, "excludePackages=true;excludePackageNames=sun.,java.net.,io.netty.,org.apache.zookeeper.,org.eclipse.jetty.;lines=5;period=1;top=20");
}
new Runner(opt.build()).run();
}
Aggregations