lib/benchmark_driver/config.rb in benchmark_driver-0.15.15 vs lib/benchmark_driver/config.rb in benchmark_driver-0.15.16
- old
+ new
@@ -11,28 +11,31 @@
:paths, # @param [Array<String>]
:executables, # @param [Array<BenchmarkDriver::Config::Executable>]
:filters, # @param [Array<Regexp>]
:repeat_count, # @param [Integer]
:repeat_result, # @param [String]
+ :alternate, # @param [TrueClass,FalseClass]
:run_duration, # @param [Float]
:timeout, # @param [Float,nil]
:verbose, # @param [Integer]
defaults: {
runner_type: 'ips',
output_type: 'compare',
output_opts: {},
filters: [],
repeat_count: 1,
repeat_result: 'best',
+ alternate: false,
run_duration: 3.0,
verbose: 0,
},
)
- # Subset of FullConfig passed to JobRunner
+ # Subset of Config passed to JobRunner
Config::RunnerConfig = ::BenchmarkDriver::Struct.new(
:repeat_count, # @param [Integer]
:repeat_result, # @param [String]
+ :alternate, # @param [TrueClass,FalseClass]
:run_duration, # @param [Float]
:timeout, # @param [Float,nil]
:verbose, # @param [Integer]
)