Bug 472554 - Profile-Guided Optimization (PGO) on KDevelop
Summary: Profile-Guided Optimization (PGO) on KDevelop
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: All build tools (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-23 23:17 UTC by Alexander Zaitsev
Modified: 2023-07-23 23:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zaitsev 2023-07-23 23:17:46 UTC
Hi!

Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects. The results are [here](https://github.com/zamazan4ik/awesome-pgo/). LLVM-related results are [here](https://github.com/llvm/llvm-project/issues/63486).

Since PGO showed measurable improvements in compiler-like loads (Clang, Clangd, clang-format, GCC, Rustc, etc.) I think it could be useful to check PGO on KDevelop too since it has some "compiler-like" details internally and PGO results from other LLVM projects can be helpful here too.

We need to perform PGO benchmarks on KDevelop. And if it shows improvements - add a note about possible improvements in KDevelop 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 since it could help maintainers to build KDevelop with PGO support in an easier way.