Package org.drasyl
Class AbstractBenchmark
java.lang.Object
org.drasyl.AbstractBenchmark
- Direct Known Subclasses:
DrasylNodeIntraVmDiscoveryBenchmark,DrasylNodeRemoteBenchmark,EncryptionBenchmark,ExpiringMapBenchmark,ExpiringSetBenchmark,HexUtilBenchmark,IdentityManagerBenchmark,IdentityPublicKeyBenchmark,InetSocketAddressBenchmark,JacksonJsonSerializerBenchmark,KeyGenBenchmark,LoggerBenchmark,NetworkUtilBenchmark,NonceBenchmark,NumberUtilBenchmark,ProofOfWorkBenchmark,ProofOfWorkGenerationBenchmark,RandomBenchmark,RandomUtilBenchmark,SerializationBenchmark,SignBenchmark,StringSerializerBenchmark,SuperPeerStressTesting
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String[]protected static final intprotected static final intprotected static final int -
Constructor Summary
Constructors -
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
-