Package io.netty.buffer
Class AbstractReferenceCountedByteBufBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.buffer.AbstractReferenceCountedByteBufBenchmark
-
public class AbstractReferenceCountedByteBufBenchmark 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 intdelay-
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 AbstractReferenceCountedByteBufBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreateUseAndRelease(org.openjdk.jmh.infra.Blackhole useBuffer)booleanretainReleaseContended()booleanretainReleaseUncontended()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
-
-
-
-
Method Detail
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
retainReleaseUncontended
public boolean retainReleaseUncontended()
-
createUseAndRelease
public boolean createUseAndRelease(org.openjdk.jmh.infra.Blackhole useBuffer)
-
retainReleaseContended
public boolean retainReleaseContended()
-
-