Package io.netty.buffer
Class AbstractByteBufGetCharSequenceBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.buffer.AbstractByteBufGetCharSequenceBenchmark
-
public class AbstractByteBufGetCharSequenceBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractByteBufGetCharSequenceBenchmark.ByteBufType-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description AbstractByteBufGetCharSequenceBenchmark.ByteBufTypebufferTypeStringcharsetNameintsize-
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 AbstractByteBufGetCharSequenceBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCharSequence()intgetCharSequenceOld()protected String[]jvmArgs()intsetCharSequence()voidsetup()voidteardown()-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmark
getForks, newOptionsBuilder
-
Methods inherited from class io.netty.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, run
-
-
-
-
Field Detail
-
size
public int size
-
charsetName
public String charsetName
-
bufferType
public AbstractByteBufGetCharSequenceBenchmark.ByteBufType bufferType
-
-
Method Detail
-
jvmArgs
protected String[] jvmArgs()
- Overrides:
jvmArgsin classAbstractMicrobenchmark
-
setup
public void setup()
-
teardown
public void teardown()
-
getCharSequence
public int getCharSequence()
-
setCharSequence
public int setCharSequence()
-
getCharSequenceOld
public int getCharSequenceOld()
-
-