public interface Options extends Serializable
Modifier and Type | Method and Description |
---|---|
Collection<Mode> |
getBenchModes()
Benchmarks modes to execute.
|
List<String> |
getExcludes()
Which benchmarks to omit?
|
Optional<Integer> |
getForkCount()
Fork count
|
List<String> |
getIncludes()
Which benchmarks to execute?
|
Optional<String> |
getJvm()
JVM executable to use for forks
|
Optional<Collection<String>> |
getJvmArgs()
JVM parameters to use with forks
|
Optional<Collection<String>> |
getJvmArgsAppend()
JVM parameters to use with forks (these options will be appended
after any other JVM option)
|
Optional<Collection<String>> |
getJvmArgsPrepend()
JVM parameters to use with forks (these options will be prepended
before any other JVM option)
|
Optional<Integer> |
getMeasurementBatchSize()
Number of batch size for measurement
|
Optional<Integer> |
getMeasurementIterations()
Number of measurement iterations
|
Optional<TimeValue> |
getMeasurementTime()
The duration for measurement iterations
|
Optional<Integer> |
getOperationsPerInvocation()
Operations per invocation.
|
Optional<String> |
getOutput()
Which file to use for dumping the output
|
Optional<Collection<String>> |
getParameter(String name)
The overridden value of the parameter.
|
List<ProfilerConfig> |
getProfilers()
Profilers to use for the run.
|
Optional<String> |
getResult()
Which file to use for dumping the result
|
Optional<ResultFormatType> |
getResultFormat()
Result format to use
|
Optional<int[]> |
getThreadGroups()
Thread subgroups distribution.
|
Optional<Integer> |
getThreads()
Number of threads to run
|
Optional<TimeValue> |
getTimeout()
Timeout: how long to wait for an iteration to complete.
|
Optional<TimeUnit> |
getTimeUnit()
Timeunit to use in units.
|
Optional<Integer> |
getWarmupBatchSize()
Number of batch size for warmup
|
Optional<Integer> |
getWarmupForkCount()
Number of initial forks to ignore the results for
|
List<String> |
getWarmupIncludes()
Which benchmarks to warmup before doing the run.
|
Optional<Integer> |
getWarmupIterations()
Number of warmup iterations
|
Optional<WarmupMode> |
getWarmupMode()
Warmup mode.
|
Optional<TimeValue> |
getWarmupTime()
The duration for warmup iterations
|
Optional<Boolean> |
shouldDoGC()
Should force GC between iterations?
|
Optional<Boolean> |
shouldFailOnError()
Should harness terminate on first error encountered?
|
Optional<Boolean> |
shouldSyncIterations()
Should synchronize iterations?
|
Optional<VerboseMode> |
verbosity()
How verbose should we be?
|
List<String> getIncludes()
List<String> getExcludes()
Optional<ResultFormatType> getResultFormat()
List<ProfilerConfig> getProfilers()
Optional<VerboseMode> verbosity()
Optional<Boolean> shouldFailOnError()
Optional<Integer> getThreads()
Threads
Optional<int[]> getThreadGroups()
Group
,
GroupThreads
Optional<Boolean> shouldSyncIterations()
Optional<Integer> getWarmupIterations()
Warmup
Optional<TimeValue> getWarmupTime()
Warmup
Optional<Integer> getWarmupBatchSize()
Warmup
Optional<WarmupMode> getWarmupMode()
WarmupMode
List<String> getWarmupIncludes()
Optional<Integer> getMeasurementIterations()
Measurement
Optional<TimeValue> getMeasurementTime()
Measurement
Optional<Integer> getMeasurementBatchSize()
Measurement
Collection<Mode> getBenchModes()
BenchmarkMode
Optional<TimeUnit> getTimeUnit()
OutputTimeUnit
Optional<Integer> getOperationsPerInvocation()
OperationsPerInvocation
Optional<Integer> getForkCount()
Fork
Optional<Integer> getWarmupForkCount()
Fork
Optional<Collection<String>> getJvmArgs()
Fork
Optional<Collection<String>> getJvmArgsAppend()
Fork
Optional<Collection<String>> getJvmArgsPrepend()
Fork
Optional<Collection<String>> getParameter(String name)
name
- parameter nameParam
Copyright © 2012–2020 Oracle. All rights reserved.