Package io.netty.microbench.snappy
Class SnappyDirectBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.microbench.snappy.SnappyDirectBenchmark
-
public class SnappyDirectBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnappyDirectBenchmark.AllocationMetrics-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description booleanreuseHashTable-
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 SnappyDirectBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufencode(SnappyDirectBenchmark.AllocationMetrics allocationMetrics)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
-
-
-
-
Method Detail
-
setup
public void setup() throws UnsupportedEncodingException- Throws:
UnsupportedEncodingException
-
encode
public io.netty.buffer.ByteBuf encode(SnappyDirectBenchmark.AllocationMetrics allocationMetrics)
-
teardown
public void teardown()
-
-