Package io.netty5.microbench.internal
Class PrivilegedSocketOperationsBenchmark
- java.lang.Object
-
- io.netty5.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty5.microbench.util.AbstractMicrobenchmark
-
- io.netty5.microbench.internal.PrivilegedSocketOperationsBenchmark
-
public class PrivilegedSocketOperationsBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrivilegedSocketOperationsBenchmark.SecurityManagerEmptystatic classPrivilegedSocketOperationsBenchmark.SecurityManagerInstalled-
Nested classes/interfaces inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
-
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 PrivilegedSocketOperationsBenchmark()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
testWithSMNoPrivileged
public ServerSocketChannel testWithSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
- Throws:
IOException
-
testWithSM
public ServerSocketChannel testWithSM(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
- Throws:
IOException
-
testWithSMWithNullCheck
public ServerSocketChannel testWithSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
- Throws:
IOException
-
testWithoutSMNoPrivileged
public ServerSocketChannel testWithoutSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
- Throws:
IOException
-
testWithoutSM
public ServerSocketChannel testWithoutSM(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
- Throws:
IOException
-
testWithoutSMWithNullCheck
public ServerSocketChannel testWithoutSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
- Throws:
IOException
-
-