public class ByteBufBenchmark 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 |
|---|
ByteBufBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
setByteBufDirect() |
io.netty.buffer.ByteBuf |
setByteBufDirectPooled() |
ByteBuffer |
setByteBufferDirect() |
ByteBuffer |
setByteBufferHeap() |
io.netty.buffer.ByteBuf |
setByteBufHeap() |
void |
setup() |
void |
tearDown() |
getForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, runpublic String checkBounds
public void setup()
public void tearDown()
public ByteBuffer setByteBufferHeap()
public ByteBuffer setByteBufferDirect()
public io.netty.buffer.ByteBuf setByteBufHeap()
public io.netty.buffer.ByteBuf setByteBufDirect()
public io.netty.buffer.ByteBuf setByteBufDirectPooled()
Copyright © 2008–2026 The Netty Project. All rights reserved.