Skip to content

Commit 1f32935

Browse files
committed
benchmarks: fix regexp for parsing code size results
Accept a '.' in the benchmark name which is used for .o and .dylib files
1 parent 209ba2d commit 1f32935

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)