Package io.netty.microbenchmark.common
Class AsciiStringBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.microbenchmark.common.AsciiStringBenchmark
-
public class AsciiStringBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description intsize-
Fields inherited from class io.netty.microbench.util.AbstractMicrobenchmark
DEFAULT_FORKS
-
Fields inherited from class io.netty.microbench.util.AbstractMicrobenchmarkBase
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
-
-
Constructor Summary
Constructors Constructor Description AsciiStringBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequalsIgnoreCaseBench()inthashCodeBenchBytesNew()inthashCodeBenchBytesOld()inthashCodeBenchCharSequenceNew()inthashCodeBenchCharSequenceOld()voidsetup()-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmark
getForks, jvmArgs, newOptionsBuilder
-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, run
-
-
-
-
Method Detail
-
setup
public void setup()
-
equalsIgnoreCaseBench
public boolean equalsIgnoreCaseBench()
-
hashCodeBenchBytesOld
public int hashCodeBenchBytesOld()
-
hashCodeBenchBytesNew
public int hashCodeBenchBytesNew()
-
hashCodeBenchCharSequenceOld
public int hashCodeBenchCharSequenceOld()
-
hashCodeBenchCharSequenceNew
public int hashCodeBenchCharSequenceNew()
-
-