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 compare(self, comparator=None):
      return {
          "benchmark": self.name,
          "change": self.change,
          "regression": self.regression,
          "baseline": self.baseline.value,
          "contender": self.contender.value,
          "unit": self.unit,
          "less_is_better": self.less_is_better,
          "counters": self.baseline.counters,
      }
  
file_path: arrow/dev/archery/archery/benchmark/compare.py
label_desc: Use image node_id 9 for calling the BenchmarkComparator obj's underlying member method code with example usage: obj.compare(comparator) and returns: dict