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