Skip to content

chore(pgo): the profiles re-keyed to Rune 5342f14d's symbol names - #1271

Closed
Hona wants to merge 5 commits into
devfrom
rune-pin/rekey-5342f14d
Closed

Hona wants to merge 5 commits into
devfrom
rune-pin/rekey-5342f14d

Conversation

@Hona

@Hona Hona commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Stands on #1257 (the Rune pin 5342f14d1) and goes in right behind it. Until #1257 is merged, this PR's diff also shows that PR's two files (Cargo.toml, Cargo.lock); its own change is four files under apps/desktop/pgo. Do not merge before #1257. dev (a5c55ecf42) is merged in at this PR's head 278f9aaf38: the tree is dev, the pin and these profiles.

What it does

The pin move in #1257 renames every Rune symbol, so the committed profiles no longer match Rune's code. This PR moves the counts of both committed profiles onto the new names, read from an instrumented build of the pin's tree (#1255). No count is trained again.

Profile Functions with counts Kept Dropped: code changed Gone
Windows x64 17,961 17,804 101 56
Apple silicon 15,030 14,921 62 47
  • 79 crates were re-keyed for Windows and 80 for Apple silicon. None was ambiguous, and no name was left unparsed.
  • A function whose code changed loses its counts until the next training. rune#2137 changes render functions, so some of the dropped ones are expected there; which ones was not read.
  • Four files change: the two profiles and their two stamps. No manifest, lock file or source file changes.
  • The start-up order list (apps/desktop/pgo/startup-order.txt) names functions without crate hashes, by its own header, and is left as it is. There is no Linux profile.

Checks: in

  • The re-key itself: both runs end with exit code 0, and each stamp says what was kept.
  • This PR's build before dev was merged in (a238db326e): guardrails, macOS, Windows x64 and arm64, and Linux x64 are green. A PR build does not build Linux arm64: that job shows success and is a skip.
  • This PR's build on the head with dev merged in (278f9aaf38): guardrails, macOS, Windows x64 and arm64, and Linux x64 are green (Linux arm64 is a skip, as above).

Checks: not in yet

Not covered

@Hona

Hona commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Superseded by #1276: the trained Windows profile (and the same re-keyed Apple silicon profile) merged on dev and shipped in 0.0.0-dev-492.

@Hona Hona closed this Nov 26, 2026
@Hona
Hona deleted the rune-pin/rekey-5342f14d branch November 26, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant