class_docstr: Compares two benchmarks.
  
  Encodes the logic of comparing two benchmarks and taking a decision on
  if it induce a regression.
class_docstr_tok: ["Compares","two","benchmarks",".","Encodes","the","logic","of","comparing","two","benchmarks","and","taking","a","decision","on","if","it","induce","a","regression","."]
code: def formatted(self):
      fmt = formatter_for_unit(self.unit)
      return {
          "benchmark": self.name,
          "change": change_fmt(self.change),
          "regression": self.regression,
          "baseline": fmt(self.baseline.value),
          "contender": fmt(self.contender.value),
          "unit": self.unit,
          "less_is_better": self.less_is_better,
          "counters": str(self.baseline.counters),
      }
  
file_path: arrow/dev/archery/archery/benchmark/compare.py
label_desc: Use image node_id 8 for calling the BenchmarkComparator obj's underlying member method code with example usage: obj.formatted() and returns: dict