Package org.drasyl.crypto
Class KeyGenBenchmark
java.lang.Object
org.drasyl.AbstractBenchmark
org.drasyl.crypto.KeyGenBenchmark
- Direct Known Subclasses:
KeyGenBenchmark_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
convertToX25519
(org.openjdk.jmh.infra.Blackhole blackhole) void
generateEphemeralKey
(org.openjdk.jmh.infra.Blackhole blackhole) void
generateLongTimeKey
(org.openjdk.jmh.infra.Blackhole blackhole) void
generateSessionKeyPairFromEphemeralKey
(org.openjdk.jmh.infra.Blackhole blackhole) void
generateSessionKeyPairFromLongTimeKey
(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
-
KeyGenBenchmark
public KeyGenBenchmark()
-
-
Method Details
-
setup
public void setup() -
generateLongTimeKey
public void generateLongTimeKey(org.openjdk.jmh.infra.Blackhole blackhole) -
convertToX25519
public void convertToX25519(org.openjdk.jmh.infra.Blackhole blackhole) -
generateEphemeralKey
public void generateEphemeralKey(org.openjdk.jmh.infra.Blackhole blackhole) -
generateSessionKeyPairFromEphemeralKey
public void generateSessionKeyPairFromEphemeralKey(org.openjdk.jmh.infra.Blackhole blackhole) -
generateSessionKeyPairFromLongTimeKey
public void generateSessionKeyPairFromLongTimeKey(org.openjdk.jmh.infra.Blackhole blackhole)
-