lib/benchmark_driver/runner/memory.rb in benchmark_driver-0.15.4 vs lib/benchmark_driver/runner/memory.rb in benchmark_driver-0.15.5
- old
+ new
@@ -38,10 +38,10 @@
raise "memory output is not supported for '#{Etc.uname[:sysname]}' for now"
end
if jobs.any? { |job| job.loop_count.nil? }
jobs = jobs.map do |job|
- job.loop_count ? job : Job.new(job.to_h.merge(loop_count: 1))
+ job.loop_count ? job : Job.new(**job.to_h.merge(loop_count: 1))
end
end
@output.with_benchmark do
jobs.each do |job|