Package | Description |
---|---|
org.openjdk.jmh.infra | |
org.openjdk.jmh.runner | |
org.openjdk.jmh.runner.options |
Constructor and Description |
---|
BenchmarkParams(String benchmark,
String generatedTarget,
boolean synchIterations,
int threads,
int[] threadGroups,
int forks,
int warmupForks,
IterationParams warmup,
IterationParams measurement,
Mode mode,
WorkloadParams params,
TimeUnit timeUnit,
int opsPerInvocation,
String jvm,
Collection<String> jvmArgs,
TimeValue timeout) |
IterationParams(IterationType type,
int count,
TimeValue time,
int batchSize) |
Modifier and Type | Field and Description |
---|---|
static TimeValue |
Defaults.MEASUREMENT_TIME
The duration of measurement iterations.
|
static TimeValue |
Defaults.TIMEOUT
Default timeout.
|
static TimeValue |
Defaults.WARMUP_TIME
The duration of warmup iterations.
|
Modifier and Type | Method and Description |
---|---|
Optional<TimeValue> |
BenchmarkListEntry.getMeasurementTime() |
Optional<TimeValue> |
BenchmarkListEntry.getTimeout() |
Optional<TimeValue> |
BenchmarkListEntry.getWarmupTime() |
Constructor and Description |
---|
BenchmarkListEntry(String userName,
String generatedName,
Mode mode,
int[] threadGroups,
Optional<Integer> threads,
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) |
BenchmarkListEntry(String userName,
String generatedName,
Mode mode,
int[] threadGroups,
Optional<Integer> threads,
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) |
BenchmarkListEntry(String userName,
String generatedName,
Mode mode,
int[] threadGroups,
Optional<Integer> threads,
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 | Field and Description |
---|---|
static TimeValue |
TimeValue.NONE |
Modifier and Type | Method and Description |
---|---|
static TimeValue |
TimeValue.days(long v) |
static TimeValue |
TimeValue.fromString(String timeString) |
static TimeValue |
TimeValue.hours(long v) |
static TimeValue |
TimeValue.microseconds(long v) |
static TimeValue |
TimeValue.milliseconds(long v) |
static TimeValue |
TimeValue.minutes(long v) |
static TimeValue |
TimeValue.nanoseconds(long v) |
static TimeValue |
TimeValue.seconds(long v) |
static TimeValue |
TimeValue.valueOf(String timeString)
Parses time value from a string representation.
|
Modifier and Type | Method and Description |
---|---|
Optional<TimeValue> |
CommandLineOptions.getMeasurementTime() |
Optional<TimeValue> |
Options.getMeasurementTime()
The duration for measurement iterations
|
Optional<TimeValue> |
OptionsBuilder.getMeasurementTime() |
Optional<TimeValue> |
CommandLineOptions.getTimeout() |
Optional<TimeValue> |
Options.getTimeout()
Timeout: how long to wait for an iteration to complete.
|
Optional<TimeValue> |
OptionsBuilder.getTimeout() |
Optional<TimeValue> |
CommandLineOptions.getWarmupTime() |
Optional<TimeValue> |
Options.getWarmupTime()
The duration for warmup iterations
|
Optional<TimeValue> |
OptionsBuilder.getWarmupTime() |
Modifier and Type | Method and Description |
---|---|
ChainedOptionsBuilder |
ChainedOptionsBuilder.measurementTime(TimeValue value)
How long each measurement iteration should take?
|
ChainedOptionsBuilder |
OptionsBuilder.measurementTime(TimeValue value) |
ChainedOptionsBuilder |
ChainedOptionsBuilder.timeout(TimeValue value)
How long to wait for iteration execution?
|
ChainedOptionsBuilder |
OptionsBuilder.timeout(TimeValue value) |
ChainedOptionsBuilder |
ChainedOptionsBuilder.warmupTime(TimeValue value)
How long each warmup iteration should take?
|
ChainedOptionsBuilder |
OptionsBuilder.warmupTime(TimeValue value) |
Copyright © 2015. All rights reserved.