Package org.drasyl
Class AbstractBenchmark
java.lang.Object
org.drasyl.AbstractBenchmark
- Direct Known Subclasses:
ApplicationMessageBenchmark
,ArmedProtocolMessageBenchmark
,ByteToRemoteMessageCodecBenchmark
,DrasylNodeIntraVmDiscoveryBenchmark
,DrasylNodeRemoteBenchmark
,EncryptionBenchmark
,ExpiringMapBenchmark
,ExpiringSetBenchmark
,FullReadMessageBenchmark
,HexUtilBenchmark
,IdentityManagerBenchmark
,IdentityPublicKeyBenchmark
,InetSocketAddressBenchmark
,InternetDiscoveryChildrenHandlerBenchmark
,InvalidProofOfWorkFilterBenchmark
,JacksonJsonSerializerBenchmark
,KeyGenBenchmark
,LoggerBenchmark
,NetworkUtilBenchmark
,NonceBenchmark
,NumberUtilBenchmark
,OtherNetworkFilterBenchmark
,PartialReadMessageBenchmark
,ProofOfWorkBenchmark
,ProofOfWorkGenerationBenchmark
,ProtocolArmHandlerBenchmark
,RandomBenchmark
,RandomUtilBenchmark
,SerializationBenchmark
,SignBenchmark
,StringSerializerBenchmark
,SuperPeerStressTesting
,UdpServerBenchmark
,UnarmedMessageDecoderBenchmark
,UnconfirmedAddressResolveHandlerBenchmark
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String[]
protected static final int
protected static final int
protected static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_FORKS
protected static final int DEFAULT_FORKS- See Also:
-
DEFAULT_WARMUP_ITERATIONS
protected static final int DEFAULT_WARMUP_ITERATIONS- See Also:
-
DEFAULT_MEASURE_ITERATIONS
protected static final int DEFAULT_MEASURE_ITERATIONS- See Also:
-
BASE_JVM_ARGS
-
-
Constructor Details
-
AbstractBenchmark
public AbstractBenchmark()
-
-
Method Details
-
newOptionsBuilder
protected org.openjdk.jmh.runner.options.ChainedOptionsBuilder newOptionsBuilder() throws IOException- Throws:
IOException
-
jvmArgs
-
getForks
protected int getForks() -
getWarmupIterations
protected int getWarmupIterations() -
getMeasureIterations
protected int getMeasureIterations() -
getTimeout
protected int getTimeout() -
getReportDir
-
handleUnexpectedException
-