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