Interface Options
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CommandLineOptions, OptionsBuilder
-
Method Summary
Modifier and TypeMethodDescriptionBenchmarks modes to execute.Which benchmarks to omit?Fork countWhich benchmarks to execute?getJvm()JVM executable to use for forksJVM parameters to use with forksJVM parameters to use with forks (these options will be appended after any other JVM option)JVM parameters to use with forks (these options will be prepended before any other JVM option)Number of batch size for measurementNumber of measurement iterationsThe duration for measurement iterationsOperations per invocation.Which file to use for dumping the outputgetParameter(String name) The overridden value of the parameter.Profilers to use for the run.Which file to use for dumping the resultResult format to useOptional<int[]> Thread subgroups distribution.Number of threads to runTimeout: how long to wait for an iteration to complete.Timeunit to use in units.Number of batch size for warmupNumber of initial forks to ignore the results forWhich benchmarks to warmup before doing the run.Number of warmup iterationsWarmup mode.The duration for warmup iterationsShould force GC between iterations?Should harness terminate on first error encountered?Should synchronize iterations?How verbose should we be?
-
Method Details
-
getIncludes
-
getExcludes
-
getOutput
-
getResultFormat
-
getResult
-
shouldDoGC
-
getProfilers
List<ProfilerConfig> getProfilers()Profilers to use for the run. Profilers will start in the order specified by collection, and will stop in the reverse order.- Returns:
- profilers to use; empty collection if no profilers are required
-
verbosity
-
shouldFailOnError
-
getThreads
-
getThreadGroups
Optional<int[]> getThreadGroups()Thread subgroups distribution.- Returns:
- array of thread ratios
- See Also:
-
shouldSyncIterations
-
getWarmupIterations
-
getWarmupTime
-
getWarmupBatchSize
-
getWarmupMode
-
getWarmupIncludes
-
getMeasurementIterations
-
getMeasurementTime
-
getMeasurementBatchSize
-
getBenchModes
Collection<Mode> getBenchModes()Benchmarks modes to execute.- Returns:
- modes to execute the benchmarks in; empty to use the default modes
- See Also:
-
getTimeUnit
-
getOperationsPerInvocation
-
getForkCount
-
getWarmupForkCount
-
getJvm
-
getJvmArgs
Optional<Collection<String>> getJvmArgs()JVM parameters to use with forks- Returns:
- JVM parameters
- See Also:
-
getJvmArgsAppend
Optional<Collection<String>> getJvmArgsAppend()JVM parameters to use with forks (these options will be appended after any other JVM option)- Returns:
- JVM parameters
- See Also:
-
getJvmArgsPrepend
Optional<Collection<String>> getJvmArgsPrepend()JVM parameters to use with forks (these options will be prepended before any other JVM option)- Returns:
- JVM parameters
- See Also:
-
getParameter
The overridden value of the parameter.- Parameters:
name- parameter name- Returns:
- parameter
- See Also:
-
getTimeout
-