Expand description
PGO (Profile-Guided Optimization) utilities.
Functionsยง
- apply_
pgo_ ๐to_ cmd - build_
command ๐ - Helper function to create a build command for rust-analyzer
- download_
crate_ ๐for_ training - Downloads a crate from GitHub, stores it into
pgo_dirand returns a path to it. - gather_
pgo_ ๐profile - Decorates
ra_build_cmdto add PGO instrumentation, and then runs the PGO instrumented Rust Analyzer on itself to gather a PGO profile.