lib/benchmark_driver/runner/ips.rb in benchmark_driver-0.15.16 vs lib/benchmark_driver/runner/ips.rb in benchmark_driver-0.15.17

- old
+ new

@@ -38,11 +38,11 @@ @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.loop_count = (loop_count.to_f * @config.run_duration / duration).floor + job end end end end