Skip to content

Commit 9351353

Browse files
committed
CI: parse_perf.py bugfix
Bracket counter for <..> was correct but (..) was broken, it was counting ( but not ). I can only presume that such cases were very rare. This patch fixes the closed parenthesis count.
1 parent f798796 commit 9351353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.testing/tools/parse_perf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def parse_perf_report(perf_data_path):
102102

103103
if tok == '>':
104104
bracks -= 1
105-
if tok == '(':
105+
if tok == ')':
106106
parens -= 1
107107

108108
# Strip any whitespace tokens

0 commit comments

Comments
 (0)