public class ByteBufBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
ByteBufBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
setByteBufDirect() |
void |
setByteBufDirectPooled() |
void |
setByteBufferDirect() |
void |
setByteBufferHeap() |
void |
setByteBufHeap() |
void |
setup() |
void |
tearDown() |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public void setup()
public void tearDown()
public void setByteBufferHeap()
public void setByteBufferDirect()
public void setByteBufHeap()
public void setByteBufDirect()
public void setByteBufDirectPooled()
Copyright © 2008–2017 The Netty Project. All rights reserved.