Package io.netty.buffer
Class CompositeByteBufWriteOutBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.buffer.CompositeByteBufWriteOutBenchmark
-
public class CompositeByteBufWriteOutBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompositeByteBufWriteOutBenchmark.ByteBufType-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description CompositeByteBufWriteOutBenchmark.ByteBufTypebufferTypeintsize-
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 CompositeByteBufWriteOutBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]jvmArgs()voidsetup()voidteardown()intwriteCBB()intwriteFCBB()-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmark
getForks, newOptionsBuilder
-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, run
-
-
-
-
Field Detail
-
size
public int size
-
bufferType
public CompositeByteBufWriteOutBenchmark.ByteBufType bufferType
-
-
Method Detail
-
jvmArgs
protected String[] jvmArgs()
- Overrides:
jvmArgsin classAbstractMicrobenchmark
-
setup
public void setup()
-
teardown
public void teardown()
-
writeCBB
public int writeCBB()
-
writeFCBB
public int writeFCBB()
-
-