Skip to content

Commit 4312677

Browse files
Fix triage report script
1 parent 408fe83 commit 4312677

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

triage/weekly_report.py

+4
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ def handle_compare(res):
195195

196196
benchmarks = get_benchmarks(res)
197197

198+
# Skip empty commits, sometimes happens if there's a compiler bug or so.
199+
if len(benchmarks) == 0:
200+
return
201+
198202
lo = min(benchmarks, key=lambda x: x.log_change())
199203
hi = max(benchmarks, key=lambda x: x.log_change())
200204

0 commit comments

Comments
 (0)