Class ApplicationMessageBenchmark
java.lang.Object
org.drasyl.AbstractBenchmark
org.drasyl.handler.remote.protocol.ApplicationMessageBenchmark
- Direct Known Subclasses:
ApplicationMessageBenchmark_jmhType_B1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final io.netty.buffer.PooledByteBufAllocator
static final HopCount
static final boolean
static final int
static final io.netty.buffer.ByteBuf
static final ProofOfWork
static final IdentityPublicKey
static final IdentityPublicKey
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
encodeMessage
(org.openjdk.jmh.infra.Blackhole blackhole) void
tearDown()
Methods inherited from class org.drasyl.AbstractBenchmark
getForks, getMeasureIterations, getReportDir, getTimeout, getWarmupIterations, handleUnexpectedException, jvmArgs, newOptionsBuilder
-
Field Details
-
ALLOC
public static final io.netty.buffer.PooledByteBufAllocator ALLOC -
HOP_COUNT
-
IS_ARMED
public static final boolean IS_ARMED- See Also:
-
NETWORK_ID
public static final int NETWORK_ID- See Also:
-
RECIPIENT
-
SENDER
-
PROOF_OF_WORK
-
PAYLOAD
public static final io.netty.buffer.ByteBuf PAYLOAD
-
-
Constructor Details
-
ApplicationMessageBenchmark
public ApplicationMessageBenchmark()
-
-
Method Details
-
encodeMessage
public void encodeMessage(org.openjdk.jmh.infra.Blackhole blackhole) -
tearDown
public void tearDown()
-