lib/benchmark_driver/runner/ips.rb in benchmark_driver-0.15.4 vs lib/benchmark_driver/runner/ips.rb in benchmark_driver-0.15.5
- old
+ new
@@ -39,10 +39,10 @@
@output.with_context(name: context.name, executable: context.executable, gems: context.gems, prelude: context.prelude) do
@output.report(values: { metric => value }, duration: duration, loop_count: loop_count)
end
loop_count = (loop_count.to_f * @config.run_duration / duration).floor
- Job.new(job.to_h.merge(loop_count: loop_count))
+ Job.new(**job.to_h.merge(loop_count: loop_count))
end
end
end
end