Evaluate using Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) #6970
zamazan4ik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Recently I checked Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) improvements on multiple projects. The results are available here. According to the tests, these optimizations can help with achieving better performance in many cases for many applications: many databases, parsing utilities like Vector, runtimes like V8, game engines, etc. Unreal Engine also benefits from building with PGO (Release notes (search for "PGO" on the page), Some notes on GitHub). Since this, I think trying to optimize Carla with PGO and PLO can be a good idea.
I can suggest the following action points:
Testing Post-Link Optimization techniques (like LLVM BOLT) would be interesting too (Clang and Rustc already use BOLT as an addition to PGO) but I recommend starting from the usual PGO.
Examples of how PGO optimization is integrated into other projects:
configure
scriptI have some examples of how PGO information looks in the documentation:
Regarding LLVM BOLT integration, I have the following examples:
Beta Was this translation helpful? Give feedback.
All reactions