Comment

Comment by boomanaiden154

PGO can be used in such situations, but the profile needs to be checked in. Same code + same profile -> same binary (assuming the compiler is deterministic, which is tested quite extensively).

There are several big projects that use PGO (like Chrome), and you can get a deterministic build at whatever revision using PGO as the profiles are checked in to the repository.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton