Package io.netty.buffer
Class ByteBufAccessBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.buffer.ByteBufAccessBenchmark
-
public class ByteBufAccessBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByteBufAccessBenchmark.ByteBufType-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description intbatchSizeByteBufAccessBenchmark.ByteBufTypebufferTypeStringcheckAccessibleStringcheckBounds-
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 ByteBufAccessBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetByteBatch(org.openjdk.jmh.infra.Blackhole bh)voidgetBytes(org.openjdk.jmh.infra.Blackhole bh)voidgetBytesConstantOffset(org.openjdk.jmh.infra.Blackhole bh)intreadBatch()voidreadByteBatch(org.openjdk.jmh.infra.Blackhole bh)voidreadBytes(org.openjdk.jmh.infra.Blackhole bh)voidsetByteBatch(org.openjdk.jmh.infra.Blackhole bh)voidsetBytes(org.openjdk.jmh.infra.Blackhole bh)voidsetBytesConstantOffset(org.openjdk.jmh.infra.Blackhole bh)longsetGetLong()io.netty.buffer.ByteBufsetLong()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
-
bufferType
public ByteBufAccessBenchmark.ByteBufType bufferType
-
checkAccessible
public String checkAccessible
-
checkBounds
public String checkBounds
-
batchSize
public int batchSize
-
-
Method Detail
-
setup
public void setup()
-
tearDown
public void tearDown()
-
setGetLong
public long setGetLong()
-
setLong
public io.netty.buffer.ByteBuf setLong()
-
readBatch
public int readBatch()
-
getByteBatch
public void getByteBatch(org.openjdk.jmh.infra.Blackhole bh)
-
setByteBatch
public void setByteBatch(org.openjdk.jmh.infra.Blackhole bh)
-
readByteBatch
public void readByteBatch(org.openjdk.jmh.infra.Blackhole bh)
-
setBytes
public void setBytes(org.openjdk.jmh.infra.Blackhole bh)
-
getBytes
public void getBytes(org.openjdk.jmh.infra.Blackhole bh)
-
setBytesConstantOffset
public void setBytesConstantOffset(org.openjdk.jmh.infra.Blackhole bh)
-
getBytesConstantOffset
public void getBytesConstantOffset(org.openjdk.jmh.infra.Blackhole bh)
-
readBytes
public void readBytes(org.openjdk.jmh.infra.Blackhole bh)
-
-