Package io.netty5.microbench.handler.ssl
Class AbstractSslEngineThroughputBenchmark
- java.lang.Object
-
- io.netty5.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty5.microbench.util.AbstractMicrobenchmark
-
- io.netty5.microbench.handler.ssl.AbstractSslEngineBenchmark
-
- io.netty5.microbench.handler.ssl.AbstractSslEngineThroughputBenchmark
-
- Direct Known Subclasses:
SslEngineEchoBenchmark,SslEngineWrapBenchmark
public abstract class AbstractSslEngineThroughputBenchmark extends AbstractSslEngineBenchmark
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty5.microbench.handler.ssl.AbstractSslEngineBenchmark
AbstractSslEngineBenchmark.BufferType, AbstractSslEngineBenchmark.SslEngineProvider
-
Nested classes/interfaces inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
Fields Modifier and Type Field Description intmessageSizeprotected ByteBufferwrapSrcBuffer-
Fields inherited from class io.netty5.microbench.handler.ssl.AbstractSslEngineBenchmark
bufferType, cipher, clientEngine, serverEngine, 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 AbstractSslEngineThroughputBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoSetup()protected voiddoTearDown()protected ByteBufferdoWrap(int numWraps)voidsetup()voidtearDown()-
Methods inherited from class io.netty5.microbench.handler.ssl.AbstractSslEngineBenchmark
allocateBuffer, destroyEngines, destroyHandshakeBuffers, doHandshake, freeBuffer, initEngines, initHandshakeBuffers, newClientEngine, newServerEngine
-
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
-
messageSize
public int messageSize
-
wrapSrcBuffer
protected ByteBuffer wrapSrcBuffer
-
-
Method Detail
-
doWrap
protected final ByteBuffer doWrap(int numWraps) throws SSLException
- Throws:
SSLException
-
-