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 change(self):
      new = self.contender.value
      old = self.baseline.value
  
      if old == 0 and new == 0:
          return 0.0
      if old == 0:
          return 0.0
  
      return float(new - old) / abs(old)
  
file_path: arrow/dev/archery/archery/benchmark/compare.py
label_desc: Use image node_id 5 for calling the BenchmarkComparator obj's underlying member method code with example usage: obj.change() and returns: unknown, int, int