Package io.netty.microbench.buffer
Class SwappedByteBufBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.microbench.buffer.SwappedByteBufBenchmark
-
public class SwappedByteBufBenchmark 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 intsize-
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 SwappedByteBufBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidswappedByteBufSetInt()voidswappedByteBufSetLong()voidswappedByteBufSetShort()voidunsafeSwappedByteBufSetInt()voidunsafeSwappedByteBufSetLong()voidunsafeSwappedByteBufSetShort()-
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
-
-
-
-
Method Detail
-
setup
public void setup()
-
swappedByteBufSetInt
public void swappedByteBufSetInt()
-
swappedByteBufSetShort
public void swappedByteBufSetShort()
-
swappedByteBufSetLong
public void swappedByteBufSetLong()
-
unsafeSwappedByteBufSetInt
public void unsafeSwappedByteBufSetInt()
-
unsafeSwappedByteBufSetShort
public void unsafeSwappedByteBufSetShort()
-
unsafeSwappedByteBufSetLong
public void unsafeSwappedByteBufSetLong()
-
-