public class HeapByteBufBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
checkBounds |
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
构造器和说明 |
---|
HeapByteBufBenchmark() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy() |
short |
getByte() |
byte |
getByteUnsafe() |
int |
getInt() |
int |
getIntUnsafe() |
long |
getLong() |
long |
getLongUnsafe() |
int |
getMedium() |
int |
getMediumUnsafe() |
short |
getShort() |
short |
getShortUnsafe() |
void |
setup() |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public void setup() throws java.lang.Exception
java.lang.Exception
public void destroy()
public byte getByteUnsafe()
public short getByte()
public short getShortUnsafe()
public short getShort()
public int getMediumUnsafe()
public int getMedium()
public int getIntUnsafe()
public int getInt()
public long getLongUnsafe()
public long getLong()