public abstract class AbstractSslHandlerThroughputBenchmark extends AbstractSslHandlerBenchmark
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSslHandlerThroughputBenchmark.BufferType |
AbstractSslHandlerBenchmark.SslEngineProvider
AbstractMicrobenchmark.HarnessExecutor
Modifier and Type | Field and Description |
---|---|
AbstractSslHandlerThroughputBenchmark.BufferType |
bufferType |
protected EmbeddedChannel |
channel |
int |
messageSize |
protected ByteBuf |
wrapSrcBuffer |
cipher, clientCtx, clientSslHandler, serverCtx, serverSslHandler, sslProvider
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
AbstractSslHandlerThroughputBenchmark() |
Modifier and Type | Method and Description |
---|---|
protected ByteBuf |
allocateBuffer(int size) |
protected ByteBuf |
doWrite(int numWrites) |
void |
setup() |
void |
tearDown() |
destroySslHandlers, doHandshake, handleUnexpectedException, initSslHandlers, newClientHandler, newServerHandler
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, removeAssertions, run
public int messageSize
public AbstractSslHandlerThroughputBenchmark.BufferType bufferType
protected ByteBuf wrapSrcBuffer
protected EmbeddedChannel channel
public AbstractSslHandlerThroughputBenchmark()
protected final ByteBuf allocateBuffer(int size)
Copyright © 2008–2017 The Netty Project. All rights reserved.