lib/benchmark_driver/runner/rsskb.rb in benchmark_driver-output-rubybench-0.2.6 vs lib/benchmark_driver/runner/rsskb.rb in benchmark_driver-output-rubybench-0.3.0

- old
+ new

@@ -42,14 +42,14 @@ @output.with_benchmark do jobs.each do |job| @output.with_job(name: job.name) do job.runnable_contexts(@contexts).each do |context| - value = BenchmarkDriver::Repeater.with_repeat(config: @config, larger_better: false) do + repeat_result = BenchmarkDriver::Repeater.with_repeat(config: @config, larger_better: false) do run_benchmark(job, context: context) end @output.with_context(name: context.name, executable: context.executable, gems: context.gems, prelude: context.prelude) do - @output.report(values: { METRIC => value }, loop_count: job.loop_count) + @output.report(values: { METRIC => repeat_result.value }, loop_count: job.loop_count) end end end end end