public class RecyclerBenchmark extends AbstractMicrobenchmark
限定符和类型 | 类和说明 |
---|---|
static class |
RecyclerBenchmark.ProducerConsumerState |
AbstractMicrobenchmark.HarnessExecutor
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
构造器和说明 |
---|
RecyclerBenchmark() |
限定符和类型 | 方法和说明 |
---|---|
void |
consumer(RecyclerBenchmark.ProducerConsumerState state,
Control control) |
protected ChainedOptionsBuilder |
newOptionsBuilder() |
io.netty.microbench.util.RecyclerBenchmark.DummyObject |
plainNew() |
void |
producer(RecyclerBenchmark.ProducerConsumerState state,
Control control) |
io.netty.microbench.util.RecyclerBenchmark.DummyObject |
recyclerGetAndOrphan() |
io.netty.microbench.util.RecyclerBenchmark.DummyObject |
recyclerGetAndRecycle() |
getForks, jvmArgs
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
protected ChainedOptionsBuilder newOptionsBuilder() throws java.lang.Exception
newOptionsBuilder
在类中 AbstractMicrobenchmark
java.lang.Exception
public io.netty.microbench.util.RecyclerBenchmark.DummyObject plainNew()
public io.netty.microbench.util.RecyclerBenchmark.DummyObject recyclerGetAndOrphan()
public io.netty.microbench.util.RecyclerBenchmark.DummyObject recyclerGetAndRecycle()
public void producer(RecyclerBenchmark.ProducerConsumerState state, Control control) throws java.lang.Exception
java.lang.Exception
public void consumer(RecyclerBenchmark.ProducerConsumerState state, Control control) throws java.lang.Exception
java.lang.Exception