Package io.netty5.handler.codec.http2
Class HpackDecoderBenchmark
- java.lang.Object
-
- io.netty5.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty5.microbench.util.AbstractMicrobenchmark
-
- io.netty5.handler.codec.http2.HpackDecoderBenchmark
-
public class HpackDecoderBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description booleanlimitToAsciibooleansensitiveHpackHeadersSizesize-
Fields inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
DEFAULT_FORKS
-
Fields inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
-
-
Constructor Summary
Constructors Constructor Description HpackDecoderBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(org.openjdk.jmh.infra.Blackhole bh)voidsetup()voidteardown()-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
getForks, jvmArgs, newOptionsBuilder
-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
-
-
-
-
Field Detail
-
size
public HpackHeadersSize size
-
sensitive
public boolean sensitive
-
limitToAscii
public boolean limitToAscii
-
-
Method Detail
-
setup
public void setup() throws io.netty5.handler.codec.http2.Http2Exception- Throws:
io.netty5.handler.codec.http2.Http2Exception
-
teardown
public void teardown()
-
decode
public void decode(org.openjdk.jmh.infra.Blackhole bh) throws io.netty5.handler.codec.http2.Http2Exception- Throws:
io.netty5.handler.codec.http2.Http2Exception
-
-