Package io.netty5.microbench.handler.ssl
Class AbstractSslHandlerThroughputBenchmark
- java.lang.Object
-
- io.netty5.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty5.microbench.util.AbstractMicrobenchmark
-
- io.netty5.microbench.handler.ssl.AbstractSslHandlerBenchmark
-
- io.netty5.microbench.handler.ssl.AbstractSslHandlerThroughputBenchmark
-
- Direct Known Subclasses:
SslHandlerEchoBenchmark
public abstract class AbstractSslHandlerThroughputBenchmark extends AbstractSslHandlerBenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractSslHandlerThroughputBenchmark.BufferType-
Nested classes/interfaces inherited from class io.netty5.microbench.handler.ssl.AbstractSslHandlerBenchmark
AbstractSslHandlerBenchmark.SslEngineProvider
-
Nested classes/interfaces inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description AbstractSslHandlerThroughputBenchmark.BufferTypebufferTypeprotected io.netty5.channel.embedded.EmbeddedChannelchannelintmessageSizeprotected io.netty5.buffer.api.BufferwrapSrcBuffer-
Fields inherited from class io.netty5.microbench.handler.ssl.AbstractSslHandlerBenchmark
cipher, clientCtx, clientSslHandler, serverCtx, serverSslHandler, sslProvider
-
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 AbstractSslHandlerThroughputBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.netty5.buffer.api.BufferallocateBuffer(int size)protected io.netty5.buffer.api.BufferdoWrite(int numWrites)voidsetup()voidtearDown()-
Methods inherited from class io.netty5.microbench.handler.ssl.AbstractSslHandlerBenchmark
destroySslHandlers, doHandshake, handleUnexpectedException, initSslHandlers, newClientHandler, newServerHandler
-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
getForks, jvmArgs, newOptionsBuilder
-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, removeAssertions, run
-
-
-
-
Field Detail
-
messageSize
public int messageSize
-
bufferType
public AbstractSslHandlerThroughputBenchmark.BufferType bufferType
-
wrapSrcBuffer
protected io.netty5.buffer.api.Buffer wrapSrcBuffer
-
channel
protected io.netty5.channel.embedded.EmbeddedChannel channel
-
-