Package io.netty5.microbench.util
Class RecyclerBenchmark
- java.lang.Object
-
- io.netty5.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty5.microbench.util.AbstractMicrobenchmark
-
- io.netty5.microbench.util.RecyclerBenchmark
-
public class RecyclerBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecyclerBenchmark.ProducerConsumerState-
Nested classes/interfaces inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
-
Fields inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
DEFAULT_FORKS
-
Fields inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
-
-
Constructor Summary
Constructors Constructor Description RecyclerBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsumer(RecyclerBenchmark.ProducerConsumerState state, org.openjdk.jmh.infra.Control control)protected org.openjdk.jmh.runner.options.ChainedOptionsBuildernewOptionsBuilder()io.netty5.microbench.util.RecyclerBenchmark.DummyObjectplainNew()voidproducer(RecyclerBenchmark.ProducerConsumerState state, org.openjdk.jmh.infra.Control control)io.netty5.microbench.util.RecyclerBenchmark.DummyObjectrecyclerGetAndOrphan()io.netty5.microbench.util.RecyclerBenchmark.DummyObjectrecyclerGetAndRecycle()-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
getForks, jvmArgs
-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
-
-
-
-
Method Detail
-
newOptionsBuilder
protected org.openjdk.jmh.runner.options.ChainedOptionsBuilder newOptionsBuilder() throws Exception- Overrides:
newOptionsBuilderin classAbstractMicrobenchmark- Throws:
Exception
-
plainNew
public io.netty5.microbench.util.RecyclerBenchmark.DummyObject plainNew()
-
recyclerGetAndOrphan
public io.netty5.microbench.util.RecyclerBenchmark.DummyObject recyclerGetAndOrphan()
-
recyclerGetAndRecycle
public io.netty5.microbench.util.RecyclerBenchmark.DummyObject recyclerGetAndRecycle()
-
producer
public void producer(RecyclerBenchmark.ProducerConsumerState state, org.openjdk.jmh.infra.Control control) throws Exception
- Throws:
Exception
-
consumer
public void consumer(RecyclerBenchmark.ProducerConsumerState state, org.openjdk.jmh.infra.Control control) throws Exception
- Throws:
Exception
-
-