public class HeapByteBufBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
HeapByteBufBenchmark() |
Modifier and Type | Method and Description |
---|---|
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 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()
Copyright © 2008–2017 The Netty Project. All rights reserved.