lib/benchmark_driver/runner.rb in benchmark_driver-0.14.5 vs lib/benchmark_driver/runner.rb in benchmark_driver-0.14.6

- old
+ new

@@ -18,15 +18,13 @@ config.executables.each do |exec| $stdout.puts "#{exec.name}: #{IO.popen([*exec.command, '-v'], &:read)}" end end - runner_config = Config::RunnerConfig.new( - repeat_count: config.repeat_count, - repeat_result: config.repeat_result, - run_duration: config.run_duration, - verbose: config.verbose, - ) + runner_config = Config::RunnerConfig.new + runner_config.members.each do |member| + runner_config[member] = config[member] + end jobs.group_by{ |j| j.respond_to?(:contexts) && j.contexts }.each do |contexts, contexts_jobs| contexts_jobs.group_by(&:metrics).each do |metrics, metrics_jobs| metrics_jobs.group_by(&:class).each do |klass, klass_jobs| runner = runner_for(klass)