code: def _get_threshold(self, graph, benchmark, entry_name):
          
          if graph.params.get('branch'):
              branch_suffix = '@' + graph.params.get('branch')
          else:
              branch_suffix = ''
  
          max_threshold = None
  
          for regex, threshold in six.iteritems(self.conf.regressions_thresholds):
              if re.match(regex, entry_name + branch_suffix):
                  try:
                      threshold = float(threshold)
                  except ValueError:
                      raise util.UserError("Non-float threshold in asv.conf.json: {!r}".format(threshold))
  
                  if max_threshold is None:
                      max_threshold = threshold
                  else:
                      max_threshold = max(threshold, max_threshold)
  
          if max_threshold is None:
              max_threshold = 0.05
  
          return max_threshold
docs: Compute the regression threshold in asv.conf.json.