public class AbstractMicrobenchmark extends AbstractMicrobenchmarkBase
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMicrobenchmark.HarnessExecutor |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_FORKS |
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| Constructor and Description |
|---|
AbstractMicrobenchmark()
Default settings:
Disable assertion in package: io.netty.*, except io.netty.microbench.*. |
AbstractMicrobenchmark(boolean disableAssertions) |
AbstractMicrobenchmark(boolean disableAssertions,
boolean disableHarnessExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getForks() |
protected String[] |
jvmArgs() |
protected org.openjdk.jmh.runner.options.ChainedOptionsBuilder |
newOptionsBuilder() |
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, runprotected static final int DEFAULT_FORKS
public AbstractMicrobenchmark()
io.netty.*, except io.netty.microbench.*.
HarnessExecutor.public AbstractMicrobenchmark(boolean disableAssertions)
disableAssertions - If true, it will disable assertion in package: io.netty.*,
except io.netty.microbench.*,
which means package io.netty.microbench.* always gets assertion enabled.public AbstractMicrobenchmark(boolean disableAssertions,
boolean disableHarnessExecutor)
disableAssertions - If true, it will disable assertion in package: io.netty.*,
except io.netty.microbench.*,
which means package io.netty.microbench.* always gets assertion enabled.protected String[] jvmArgs()
jvmArgs in class AbstractMicrobenchmarkBaseprotected org.openjdk.jmh.runner.options.ChainedOptionsBuilder newOptionsBuilder()
throws Exception
newOptionsBuilder in class AbstractMicrobenchmarkBaseExceptionprotected int getForks()
Copyright © 2008–2026 The Netty Project. All rights reserved.