Package org.drasyl.crypto
Class EncryptionBenchmark
java.lang.Object
org.drasyl.AbstractBenchmark
org.drasyl.crypto.EncryptionBenchmark
- Direct Known Subclasses:
EncryptionBenchmark_jmhType_B1
-
Field Summary
Fields inherited from class org.drasyl.AbstractBenchmark
BASE_JVM_ARGS, DEFAULT_FORKS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decrypt
(org.openjdk.jmh.infra.Blackhole blackhole) void
encryptWithNonce
(org.openjdk.jmh.infra.Blackhole blackhole) void
encryptWithoutNonce
(org.openjdk.jmh.infra.Blackhole blackhole) void
setup()
Methods inherited from class org.drasyl.AbstractBenchmark
getForks, getMeasureIterations, getReportDir, getTimeout, getWarmupIterations, handleUnexpectedException, jvmArgs, newOptionsBuilder
-
Constructor Details
-
EncryptionBenchmark
public EncryptionBenchmark()
-
-
Method Details
-
setup
public void setup() -
encryptWithNonce
public void encryptWithNonce(org.openjdk.jmh.infra.Blackhole blackhole) -
encryptWithoutNonce
public void encryptWithoutNonce(org.openjdk.jmh.infra.Blackhole blackhole) -
decrypt
public void decrypt(org.openjdk.jmh.infra.Blackhole blackhole)
-