public class HeapByteBufBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor| Modifier and Type | Field and Description |
|---|---|
String |
checkBounds |
DEFAULT_FORKSBASE_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, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, runpublic String checkBounds
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–2026 The Netty Project. All rights reserved.