From 650ed8d81c9086285f9d7333a4c465ea718d5865 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 26 Jun 2025 14:05:37 -0400 Subject: [PATCH] Use PGO on weekly builds --- CHANGELOG.md | 4 ++++ bench_runner/scripts/install.py | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c947849..fe37dfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ### Bugfixes +#### Use PGO on weekly builds + +Since 2.0.0, PGO was not being used on weekly builds. This is now fixed. + #### No warmup runs for pystats When collecting pystats, pyperformance will no longer perform "warmup runs", to diff --git a/bench_runner/scripts/install.py b/bench_runner/scripts/install.py index f2e1a37..3e78e7f 100644 --- a/bench_runner/scripts/install.py +++ b/bench_runner/scripts/install.py @@ -271,6 +271,7 @@ def generate__weekly(dst: Any) -> Any: "ref": "${{ needs.determine_head.outputs.commit }}", "machine": runner.name, "benchmarks": "all_and_excluded", + "pgo": True, **flags.flags_to_gha_variables_yml(weekly_cfg.flags), }, "secrets": "inherit",