I have PGO working for my project and it is awesome. Anywhere from 5-30% speedup depending on the codepath and platform. I've got PGO working in CI to produce binaries for Mac and Linux, which is cool, but I'd love for a user to be able to run cargo install hck
and have set things up to pull my profile data and compile with the PGO optimizations.
Has anyone else go that working?
My workaround at the moment is to just have a tar with the source code + pgo profiling data and have the user pull that and run RUSTFLAGS="..." cargo build --release
. Which is fine, but not ideal.