public class SslEngineEchoBenchmark extends AbstractSslEngineThroughputBenchmark
AbstractSslEngineBenchmark.BufferType, AbstractSslEngineBenchmark.SslEngineProvider
AbstractMicrobenchmark.HarnessExecutor
Modifier and Type | Field and Description |
---|---|
int |
numWraps |
messageSize, wrapSrcBuffer
bufferType, cipher, clientEngine, serverEngine, sslProvider
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
SslEngineEchoBenchmark() |
Modifier and Type | Method and Description |
---|---|
protected void |
doSetup() |
protected void |
doTearDown() |
ByteBuffer |
wrapUnwrap() |
doWrap, setup, tearDown
allocateBuffer, destroyEngines, destroyHandshakeBuffers, doHandshake, freeBuffer, initEngines, initHandshakeBuffers, newClientEngine, newServerEngine
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
protected void doSetup()
doSetup
in class AbstractSslEngineThroughputBenchmark
protected void doTearDown()
doTearDown
in class AbstractSslEngineThroughputBenchmark
public ByteBuffer wrapUnwrap() throws SSLException
SSLException
Copyright © 2008–2017 The Netty Project. All rights reserved.