public class Utf8EncodingBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutorDEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| 构造器和说明 |
|---|
Utf8EncodingBenchmark() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
byteBufUtilWriteUtf8AsciiString() |
int |
byteBufUtilWriteUtf8Bimorphic() |
int |
byteBufUtilWriteUtf8CommonCharSequences() |
int |
byteBufUtilWriteUtf8Megamorphic() |
int |
byteBufUtilWriteUtf8String() |
void |
init() |
int |
nestedByteBufUtilWriteUtf8String() |
int |
writeGetBytes() |
getForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, runpublic void init()
public int nestedByteBufUtilWriteUtf8String()
public int byteBufUtilWriteUtf8String()
public int byteBufUtilWriteUtf8Bimorphic()
public int byteBufUtilWriteUtf8Megamorphic()
public int byteBufUtilWriteUtf8CommonCharSequences()
public int byteBufUtilWriteUtf8AsciiString()
public int writeGetBytes()
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException