Evalaute Profile-Guided Optimization (PGO) and LLVM BOLT #7459
Closed
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
Uh oh!
There was an error while loading. Please reload this page.
-
Which project is this feature idea for?
Turbopack
Describe the feature you'd like to request
Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects. The results are here. Since Turbopack cares about performance, it could be interesting to evaluate PGO benefits for the project.
Describe the solution you'd like
We need to perform PGO benchmarks on Turbopack. And if it shows improvements - add a note about possible improvements in Turbopack performance with PGO. Providing an easier way (e.g. a build option) to build scripts with PGO can be useful for the end-users too.
For the Rust projects, I suggest trying to start with cargo-pgo.
Here you can find different materials about PGO: benchmarks in different software, examples of how PGO is already integrated with different projects, PGO support in multiple compilers, and some PGO-related pieces of advice.
Describe alternatives you've considered
After PGO, I suggest evaluating LLVM BOLT optimizer - it can give more aggressive optimizations even after PGO.
Beta Was this translation helpful? Give feedback.
All reactions