public class SimpleByteBufPooledAllocatorBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor| 限定符和类型 | 字段和说明 |
|---|---|
ByteBufAllocator |
allocator |
int |
size |
long |
tokens |
boolean |
useThreadCache |
DEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| 构造器和说明 |
|---|
SimpleByteBufPooledAllocatorBenchmark() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doSetup() |
boolean |
getAndRelease() |
getForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, runpublic int size
public long tokens
public boolean useThreadCache
public ByteBufAllocator allocator