Package | Description |
---|---|
org.openjdk.jmh.annotations | |
org.openjdk.jmh.infra | |
org.openjdk.jmh.runner | |
org.openjdk.jmh.runner.options |
Modifier and Type | Method and Description |
---|---|
static Mode |
Mode.deepValueOf(String name) |
static Mode |
Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode[] |
Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BenchmarkParams(String benchmark,
String generatedTarget,
boolean synchIterations,
int threads,
int[] threadGroups,
Collection<String> threadGroupLabels,
int forks,
int warmupForks,
IterationParams warmup,
IterationParams measurement,
Mode mode,
WorkloadParams params,
TimeUnit timeUnit,
int opsPerInvocation,
String jvm,
Collection<String> jvmArgs,
String jdkVersion,
String vmName,
String vmVersion,
String jmhVersion,
TimeValue timeout) |
Modifier and Type | Field and Description |
---|---|
static Mode |
Defaults.BENCHMARK_MODE
Default running mode.
|
Modifier and Type | Method and Description |
---|---|
Mode |
BenchmarkListEntry.getMode() |
Modifier and Type | Method and Description |
---|---|
BenchmarkListEntry |
BenchmarkListEntry.cloneWith(Mode mode) |
Constructor and Description |
---|
BenchmarkListEntry(String userClassQName,
String generatedClassQName,
String method,
Mode mode,
Optional<Integer> threads,
int[] threadGroups,
Optional<Collection<String>> threadGroupLabels,
Optional<Integer> warmupIterations,
Optional<TimeValue> warmupTime,
Optional<Integer> warmupBatchSize,
Optional<Integer> measurementIterations,
Optional<TimeValue> measurementTime,
Optional<Integer> measurementBatchSize,
Optional<Integer> forks,
Optional<Integer> warmupForks,
Optional<String> jvm,
Optional<Collection<String>> jvmArgs,
Optional<Collection<String>> jvmArgsPrepend,
Optional<Collection<String>> jvmArgsAppend,
Optional<Map<String,String[]>> params,
Optional<TimeUnit> tu,
Optional<Integer> opsPerInv,
Optional<TimeValue> timeout) |
Modifier and Type | Method and Description |
---|---|
Collection<Mode> |
OptionsBuilder.getBenchModes() |
Collection<Mode> |
CommandLineOptions.getBenchModes() |
Collection<Mode> |
Options.getBenchModes()
Benchmarks modes to execute.
|
Modifier and Type | Method and Description |
---|---|
ChainedOptionsBuilder |
ChainedOptionsBuilder.mode(Mode mode)
Benchmark mode.
|
ChainedOptionsBuilder |
OptionsBuilder.mode(Mode mode) |
Copyright © 2012–2020 Oracle. All rights reserved.