public class SwappedByteBufBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
限定符和类型 | 字段和说明 |
---|---|
int |
size |
DEFAULT_FORKS
BASE_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, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public void setup()
public void swappedByteBufSetInt()
public void swappedByteBufSetShort()
public void swappedByteBufSetLong()
public void unsafeSwappedByteBufSetInt()
public void unsafeSwappedByteBufSetShort()
public void unsafeSwappedByteBufSetLong()