lib/benchmark_driver/output.rb in benchmark_driver-0.14.13 vs lib/benchmark_driver/output.rb in benchmark_driver-0.14.14
- old
+ new
@@ -71,14 +71,16 @@
@output.with_context(context) do
block.call
end
end
- # @param [Float] value
+ # @param [Hash{ BenchmarkDriver::Metric => Float }] values
+ # @param [Hash{ BenchmarkDriver::Metric => [Float] },nil] values
# @param [BenchmarkDriver::Metric] metic
- def report(values:, duration: nil, loop_count: nil, environment: {})
+ def report(values:, all_values: nil, duration: nil, loop_count: nil, environment: {})
result = BenchmarkDriver::Result.new(
values: values,
+ all_values: all_values,
duration: duration,
loop_count: loop_count,
environment: environment,
)
@output.report(result)