Package io.netty.microbench.search
Class SearchRealDataBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.microbench.search.SearchRealDataBenchmark
-
public class SearchRealDataBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchRealDataBenchmark.Algorithm-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description SearchRealDataBenchmark.AlgorithmalgorithmByteBufTypebufferType-
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 SearchRealDataBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfindAll(org.openjdk.jmh.infra.Blackhole blackHole)intfindFirst()intfindFirstFromIndex()voidinvocationSetup()voidsetup()voidteardown()-
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
-
-
-
-
Field Detail
-
algorithm
public SearchRealDataBenchmark.Algorithm algorithm
-
bufferType
public ByteBufType bufferType
-
-
Method Detail
-
setup
public void setup() throws IOException- Throws:
IOException
-
invocationSetup
public void invocationSetup()
-
teardown
public void teardown()
-
findFirst
public int findFirst()
-
findFirstFromIndex
public int findFirstFromIndex()
-
findAll
public void findAll(org.openjdk.jmh.infra.Blackhole blackHole)
-
-