Package io.netty.microbench.headers
Class IsKeepAliveBenchmark
- java.lang.Object
-
- io.netty.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty.microbench.util.AbstractMicrobenchmark
-
- io.netty.microbench.headers.IsKeepAliveBenchmark
-
public class IsKeepAliveBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIsKeepAliveBenchmark.ConnectionClose-
Nested classes/interfaces inherited from class io.netty.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description IsKeepAliveBenchmark.ConnectionCloseclosebooleanwarmup-
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 IsKeepAliveBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisKeepAlive()static booleanisKeepAlive(io.netty.handler.codec.http.HttpRequest request)booleanisKeepAliveWithGarbage()voidsetup(org.openjdk.jmh.infra.Blackhole bh)-
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
-
close
public IsKeepAliveBenchmark.ConnectionClose close
-
warmup
public boolean warmup
-
-