public class ByteBufAllocateAndGrowBenchmark extends AbstractMicrobenchmark
| Modifier and Type | Class and Description |
|---|---|
static class |
ByteBufAllocateAndGrowBenchmark.BufStats |
AbstractMicrobenchmark.HarnessExecutor| Modifier and Type | Field and Description |
|---|---|
int |
size |
DEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| Constructor and Description |
|---|
ByteBufAllocateAndGrowBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
void |
adaptiveDirectAllocAndFree(ByteBufAllocateAndGrowBenchmark.BufStats stats) |
void |
pooledDirectAllocAndFree(ByteBufAllocateAndGrowBenchmark.BufStats stats) |
void |
releaseBuffers() |
getForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, runpublic void releaseBuffers()
public void pooledDirectAllocAndFree(ByteBufAllocateAndGrowBenchmark.BufStats stats)
public void adaptiveDirectAllocAndFree(ByteBufAllocateAndGrowBenchmark.BufStats stats)
Copyright © 2008–2026 The Netty Project. All rights reserved.