gh-8932: Add more PGO instrumentation (gh-13158)

This commit is contained in:
mr. m
2026-04-09 22:41:27 +02:00
committed by GitHub
parent fc2eb5a20b
commit 0a7e81f532
6 changed files with 1735 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ def main():
name = patch.get("name")
if not phab_id or not name:
die(f"Patch entry missing 'id' or 'name': {patch}")
name = name.replace(" ", "_").lower()
name = name.replace(" ", "_").replace(".", "_").lower()
output_file = os.path.join(OUTPUT_DIR, "firefox", f"{name}.patch")
print(f"Processing Phabricator patch: {phab_id} -> {output_file}")
download_phab_patch(phab_id, output_file)