class BenchmarkDriver::Output::Compare
def show_slower(better_result, worse_result)
def show_slower(better_result, worse_result) top = worse_result.value bottom = better_result.value top, bottom = bottom, top if @metrics.first.larger_better unless BenchmarkDriver::Result::ERROR.equal?(bottom) ratio = top / bottom sprintf("- %.2fx %s", ratio, @metrics.first.worse_word) end end