Package io.netty5.microbench.util
Class AbstractMicrobenchmark
- java.lang.Object
-
- io.netty5.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty5.microbench.util.AbstractMicrobenchmark
-
- Direct Known Subclasses:
AbstractSslEngineBenchmark,AbstractSslHandlerBenchmark,AdvancedCodecOutputListBenchmark,AppendableCharSequenceBenchmark,AsciiStringBenchmark,BufferAllocatorBenchmark,BufferAllocatorConcurrentBenchmark,BufferBenchmark,BufferBytesBeforeBenchmark,BufferCopyBenchmark,BurstCostExecutorsBenchmark,CodecOutputListBenchmark,DateFormatter2Benchmark,DecodeHexBenchmark,DefaultAttributeMapBenchmark,DefaultChannelPipelineBenchmark,EpollSocketChannelBenchmark,EscapeCsvBenchmark,FastThreadLocalFastPathBenchmark,FastThreadLocalSlowPathBenchmark,GetIpV6ByNameBenchmark,HeadersBenchmark,HpackDecoderBenchmark,HpackDecoderULE128Benchmark,HpackEncoderBenchmark,HpackStaticTableBenchmark,HpackUtilBenchmark,Http2FrameWriterDataBenchmark,HttpMethodMapBenchmark,HttpObjectEncoderBenchmark,HttpRequestDecoderBenchmark,HttpRequestEncoderInsertBenchmark,IntObjectHashMapBenchmark,IsValidIpV4Benchmark,IsValidIpV6Benchmark,MathOperationsBenchmark,NetUtilBenchmark,NoPriorityByteDistributionBenchmark,PlatformDependentBenchmark,PrivilegedSocketOperationsBenchmark,QueryStringDecoderBenchmark,QueryStringEncoderBenchmark,ReadOnlyHttp2HeadersBenchmark,RecyclableArrayListBenchmark,RecyclerBenchmark,ResourceLeakDetectorBenchmark,ResourceLeakDetectorRecordBenchmark,RunnableScheduledFutureAdapterBenchmark,UnitializedArrayBenchmark,Utf8EncodingBenchmark,WriteBytesVsShortOrMediumBenchmark
public class AbstractMicrobenchmark extends AbstractMicrobenchmarkBase
Default implementation of the JMH microbenchmark adapter. There may be context switches introduced by this harness.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractMicrobenchmark.HarnessExecutor
-
Field Summary
Fields Modifier and Type Field Description protected static intDEFAULT_FORKS-
Fields inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
-
-
Constructor Summary
Constructors Constructor Description AbstractMicrobenchmark()AbstractMicrobenchmark(boolean disableAssertions)AbstractMicrobenchmark(boolean disableAssertions, boolean disableHarnessExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetForks()protected String[]jvmArgs()protected org.openjdk.jmh.runner.options.ChainedOptionsBuildernewOptionsBuilder()-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
-
-
-
-
Field Detail
-
DEFAULT_FORKS
protected static final int DEFAULT_FORKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
jvmArgs
protected String[] jvmArgs()
- Specified by:
jvmArgsin classAbstractMicrobenchmarkBase
-
newOptionsBuilder
protected org.openjdk.jmh.runner.options.ChainedOptionsBuilder newOptionsBuilder() throws Exception- Overrides:
newOptionsBuilderin classAbstractMicrobenchmarkBase- Throws:
Exception
-
getForks
protected int getForks()
-
-