Evaluate Profile-Guided Optimization (PGO) #2627
Labels
A-frontend
Area: Frontends for interpreters, like the `ruby` or `irb` binaries.
A-performance
Area: Performance improvements and optimizations.
C-enhancement
Category: New feature or request.
E-help-wanted
Call for participation: Help is requested to fix this issue.
S-speculative
Status: This is just an idea.
Hi!
Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects. The results are here. LLVM-related results are here.
Since PGO showed measurable improvements in compiler-like loads (CPython, Clang, Clangd, clang-format, GCC, Rustc, etc.) I think it could be useful to check PGO on Artichoke as well.
We need to perform PGO benchmarks on Artichoke. And if it shows improvements - add a note about possible improvements in Artichoke 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. Maybe testing Post-Link Optimization techniques (like LLVM BOLT) would be interesting too but I recommend starting from the usual PGO.
If you want to test PGO, I recommend starting with https://github.com/Kobzol/cargo-pgo .
The text was updated successfully, but these errors were encountered: