Package io.netty.microbench.buffer
Class HeapByteBufBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.microbench.buffer.HeapByteBufBenchmark
-
public class HeapByteBufBenchmark 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 HeapByteBufBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()shortgetByte()bytegetByteUnsafe()intgetInt()intgetIntUnsafe()longgetLong()longgetLongUnsafe()intgetMedium()intgetMediumUnsafe()shortgetShort()shortgetShortUnsafe()voidsetup()-
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
-
destroy
public void destroy()
-
getByteUnsafe
public byte getByteUnsafe()
-
getByte
public short getByte()
-
getShortUnsafe
public short getShortUnsafe()
-
getShort
public short getShort()
-
getMediumUnsafe
public int getMediumUnsafe()
-
getMedium
public int getMedium()
-
getIntUnsafe
public int getIntUnsafe()
-
getInt
public int getInt()
-
getLongUnsafe
public long getLongUnsafe()
-
getLong
public long getLong()
-
-