public class SwappedByteBufBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor| 限定符和类型 | 字段和说明 |
|---|---|
int |
size |
DEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| 构造器和说明 |
|---|
SwappedByteBufBenchmark() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setup() |
void |
swappedByteBufSetInt() |
void |
swappedByteBufSetLong() |
void |
swappedByteBufSetShort() |
void |
unsafeSwappedByteBufSetInt() |
void |
unsafeSwappedByteBufSetLong() |
void |
unsafeSwappedByteBufSetShort() |
getForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, runpublic void setup()
public void swappedByteBufSetInt()
public void swappedByteBufSetShort()
public void swappedByteBufSetLong()
public void unsafeSwappedByteBufSetInt()
public void unsafeSwappedByteBufSetShort()
public void unsafeSwappedByteBufSetLong()