Package org.drasyl.identity
Class ProofOfWorkGenerationBenchmark
java.lang.Object
org.drasyl.AbstractBenchmark
org.drasyl.identity.ProofOfWorkGenerationBenchmark
- Direct Known Subclasses:
ProofOfWorkGenerationBenchmark_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
generateProofOfWork
(org.openjdk.jmh.infra.Blackhole blackhole) void
setup()
Methods inherited from class org.drasyl.AbstractBenchmark
getForks, getMeasureIterations, getReportDir, getTimeout, getWarmupIterations, handleUnexpectedException, jvmArgs, newOptionsBuilder
-
Field Details
-
difficulty
public int difficulty
-
-
Constructor Details
-
ProofOfWorkGenerationBenchmark
public ProofOfWorkGenerationBenchmark()
-
-
Method Details
-
setup
public void setup() -
generateProofOfWork
public void generateProofOfWork(org.openjdk.jmh.infra.Blackhole blackhole)
-