public class UnitializedArrayBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
UnitializedArrayBenchmark() |
Modifier and Type | Method and Description |
---|---|
byte[] |
allocateInitializedByteArray() |
byte[] |
allocateUninitializedByteArray() |
protected String[] |
jvmArgs() |
void |
setupTrial() |
getForks, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public void setupTrial()
protected String[] jvmArgs()
jvmArgs
in class AbstractMicrobenchmark
public byte[] allocateInitializedByteArray()
public byte[] allocateUninitializedByteArray()
Copyright © 2008–2018 The Netty Project. All rights reserved.