class BenchmarkDriver::Output

def report(values:, all_values: nil, duration: nil, loop_count: nil, environment: {})

Parameters:
  • metic (BenchmarkDriver::Metric) --
  • values (Hash{ BenchmarkDriver::Metric => [Float] }, nil) --
  • values (Hash{ BenchmarkDriver::Metric => Float }) --
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)
end