public class PrivilegedSocketOperationsBenchmark extends AbstractMicrobenchmark
Modifier and Type | Class and Description |
---|---|
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty |
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled |
AbstractMicrobenchmark.HarnessExecutor
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
PrivilegedSocketOperationsBenchmark() |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public ServerSocketChannel testWithSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
IOException
public ServerSocketChannel testWithSM(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
IOException
public ServerSocketChannel testWithSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
IOException
public ServerSocketChannel testWithoutSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
IOException
public ServerSocketChannel testWithoutSM(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
IOException
public ServerSocketChannel testWithoutSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
IOException
Copyright © 2008–2017 The Netty Project. All rights reserved.