lib/benchmark_driver/runner/memory.rb in benchmark_driver-0.14.13 vs lib/benchmark_driver/runner/memory.rb in benchmark_driver-0.14.14
- old
+ new
@@ -46,14 +46,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
+ 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 => result.value }, all_values: { METRIC => result.all_values }, loop_count: job.loop_count)
end
end
end
end
end