Package io.netty5.microbench.concurrent
Class BurstCostExecutorsBenchmark
- java.lang.Object
-
- io.netty5.microbench.util.AbstractMicrobenchmarkBase
-
- io.netty5.microbench.util.AbstractMicrobenchmark
-
- io.netty5.microbench.concurrent.BurstCostExecutorsBenchmark
-
public class BurstCostExecutorsBenchmark extends AbstractMicrobenchmark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBurstCostExecutorsBenchmark.PerThreadState-
Nested classes/interfaces inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutor
-
-
Field Summary
-
Fields inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
DEFAULT_FORKS
-
Fields inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
-
-
Constructor Summary
Constructors Constructor Description BurstCostExecutorsBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtearDown()inttest1Producer(BurstCostExecutorsBenchmark.PerThreadState state)inttest2Producers(BurstCostExecutorsBenchmark.PerThreadState state)inttest3Producers(BurstCostExecutorsBenchmark.PerThreadState state)-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmark
getForks, jvmArgs, newOptionsBuilder
-
Methods inherited from class io.netty5.microbench.util.AbstractMicrobenchmarkBase
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
-
-
-
-
Method Detail
-
setup
public void setup()
-
tearDown
public void tearDown()
-
test1Producer
public int test1Producer(BurstCostExecutorsBenchmark.PerThreadState state)
-
test2Producers
public int test2Producers(BurstCostExecutorsBenchmark.PerThreadState state)
-
test3Producers
public int test3Producers(BurstCostExecutorsBenchmark.PerThreadState state)
-
-