lib/benchmark_driver/config.rb in benchmark_driver-0.10.16 vs lib/benchmark_driver/config.rb in benchmark_driver-0.11.0
- old
+ new
@@ -7,26 +7,26 @@
:output_type, # @param [String]
:paths, # @param [Array<String>]
:executables, # @param [Array<BenchmarkDriver::Config::Executable>]
:filters, # @param [Array<Regexp>]
:repeat_count, # @param [Integer]
- :run_duration, # @param [Integer]
+ :run_duration, # @param [Float]
:verbose, # @param [Integer]
defaults: {
runner_type: 'ips',
output_type: 'compare',
filters: [],
repeat_count: 1,
- run_duration: 3,
+ run_duration: 3.0,
verbose: 0,
},
)
# Subset of FullConfig passed to JobRunner
Config::RunnerConfig = ::BenchmarkDriver::Struct.new(
:executables, # @param [Array<BenchmarkDriver::Config::Executable>]
:repeat_count, # @param [Integer]
- :run_duration, # @param [Integer]
+ :run_duration, # @param [Float]
:verbose, # @param [Integer]
)
Config::Executable = ::BenchmarkDriver::Struct.new(
:name, # @param [String]