lib/benchmark_driver/output/compare.rb in benchmark_driver-0.14.9 vs lib/benchmark_driver/output/compare.rb in benchmark_driver-0.14.10
- old
+ new
@@ -59,10 +59,10 @@
result = block.call
$stdout.print(@metrics.first.unit)
loop_count = @job_results.first.loop_count
if loop_count && @job_results.all? { |r| r.loop_count == loop_count }
$stdout.print(" - #{humanize(loop_count)} times")
- if @job_results.all? { |result| !result.duration.nil? }
+ if @job_results.all? { |job_result| !job_result.duration.nil? }
$stdout.print(" in")
show_durations
end
end
$stdout.puts