diff --git a/scripts/tools/memory/gh_report.py b/scripts/tools/memory/gh_report.py index 0dc82bd809c4cb..7a52052c4287a5 100755 --- a/scripts/tools/memory/gh_report.py +++ b/scripts/tools/memory/gh_report.py @@ -691,6 +691,9 @@ def report_matching_commits(db: SizeDatabase) -> Dict[str, pd.DataFrame]: continue df = changes_for_commit(db, pr, commit, parent) + if df.empty: + # Matching commits had no new matching builds. + continue dfs[df.attrs['name']] = df if (event == 'pull_request' and comment_enabled