public class ByteBufAllocatorBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor| Modifier and Type | Field and Description |
|---|---|
int |
size |
DEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| Constructor and Description |
|---|
ByteBufAllocatorBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
void |
adaptiveDirectAllocAndFree() |
void |
adaptiveHeapAllocAndFree() |
void |
defaultPooledDirectAllocAndFree() |
void |
defaultPooledHeapAllocAndFree() |
void |
pooledDirectAllocAndFree() |
void |
pooledHeapAllocAndFree() |
void |
releaseBuffers() |
void |
unpooledDirectAllocAndFree() |
void |
unpooledHeapAllocAndFree() |
getForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, runpublic void releaseBuffers()
public void unpooledHeapAllocAndFree()
public void unpooledDirectAllocAndFree()
public void pooledHeapAllocAndFree()
public void pooledDirectAllocAndFree()
public void defaultPooledHeapAllocAndFree()
public void defaultPooledDirectAllocAndFree()
public void adaptiveHeapAllocAndFree()
public void adaptiveDirectAllocAndFree()
Copyright © 2008–2026 The Netty Project. All rights reserved.