public class ByteBufAllocatorBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
Modifier and Type | Field and Description |
---|---|
int |
size |
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
ByteBufAllocatorBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
defaultPooledDirectAllocAndFree() |
void |
defaultPooledHeapAllocAndFree() |
void |
pooledDirectAllocAndFree() |
void |
pooledHeapAllocAndFree() |
void |
unpooledDirectAllocAndFree() |
void |
unpooledHeapAllocAndFree() |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public void unpooledHeapAllocAndFree()
public void unpooledDirectAllocAndFree()
public void pooledHeapAllocAndFree()
public void pooledDirectAllocAndFree()
public void defaultPooledHeapAllocAndFree()
public void defaultPooledDirectAllocAndFree()
Copyright © 2008–2018 The Netty Project. All rights reserved.