Skip to content

Commit 50374f0

Browse files
authored
Merge pull request swiftlang#19007 from eeckstein/fix-bm-regexp
benchmarks: fix regexp for parsing code size results
2 parents 140ee56 + 1f32935 commit 50374f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/scripts/compare_perf_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def _reset(self):
308308

309309
# Parse lines like this
310310
# #,TEST,SAMPLES,MIN(μs),MAX(μs),MEAN(μs),SD(μs),MEDIAN(μs)
311-
results_re = re.compile(r'([ ]*\d+[, \t]*\w+[, \t]*' +
311+
results_re = re.compile(r'( *\d+[, \t]*[\w.]+[, \t]*' +
312312
r'[, \t]*'.join([r'[\d.]+'] * 6) +
313313
r'[, \t]*[\d.]*)') # optional MAX_RSS(B)
314314

0 commit comments

Comments
 (0)