public class SwappedByteBufBenchmark 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 |
---|
SwappedByteBufBenchmark() |
Modifier and Type | Method and Description |
---|---|
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()
Copyright © 2008–2017 The Netty Project. All rights reserved.