Package io.netty.microbench.buffer
Class ByteBufBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.microbench.buffer.ByteBufBenchmark
-
public class ByteBufBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description StringcheckBounds-
Fields inherited from class io.netty.microbench.util.AbstractMicrobenchmark
DEFAULT_FORKS
-
Fields inherited from class io.netty.microbench.util.AbstractMicrobenchmarkBase
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
-
-
Constructor Summary
Constructors Constructor Description ByteBufBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufsetByteBufDirect()io.netty.buffer.ByteBufsetByteBufDirectPooled()ByteBuffersetByteBufferDirect()ByteBuffersetByteBufferHeap()io.netty.buffer.ByteBufsetByteBufHeap()voidsetup()voidtearDown()-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmark
getForks, jvmArgs, newOptionsBuilder
-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, run
-
-
-
-
Field Detail
-
checkBounds
public String checkBounds
-
-
Method Detail
-
setup
public void setup()
-
tearDown
public void tearDown()
-
setByteBufferHeap
public ByteBuffer setByteBufferHeap()
-
setByteBufferDirect
public ByteBuffer setByteBufferDirect()
-
setByteBufHeap
public io.netty.buffer.ByteBuf setByteBufHeap()
-
setByteBufDirect
public io.netty.buffer.ByteBuf setByteBufDirect()
-
setByteBufDirectPooled
public io.netty.buffer.ByteBuf setByteBufDirectPooled()
-
-