Lines Matching refs:match
38 def match(cls, text): member in BenchResult
39 match = cls.PATTERN.search(text)
40 return cls(match) if match else None
42 def __init__(self, match): argument
43 self.accum = float(match.group('accum'))
44 self.median = float(match.group('median'))
45 self.max = float(match.group('max'))
46 self.min = float(match.group('min'))
47 self.stddev = float(match.group('stddev')[:-1]) # Drop '%' sign.
48 self.samples = int(match.group('samples'))
49 self.sample_ms = int(match.group('sample_ms'))
50 self.clock = match.group('clock')
51 self.metric = match.group('metric')
52 self.config = match.group('config')
53 self.bench = match.group('bench')
54 self._match = match