public class UnsafeByteBufBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
构造器和说明 |
---|
UnsafeByteBufBenchmark() |
限定符和类型 | 方法和说明 |
---|---|
long |
setGetLongByteBuffer() |
long |
setGetLongUnsafeByteBuf() |
java.nio.ByteBuffer |
setLongByteBuffer() |
ByteBuf |
setLongUnsafeByteBuf() |
void |
setup() |
void |
tearDown() |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public void setup()
public void tearDown()
public long setGetLongUnsafeByteBuf()
public long setGetLongByteBuffer()
public ByteBuf setLongUnsafeByteBuf()
public java.nio.ByteBuffer setLongByteBuffer()