Bug 472265

Summary: Evaluate Profile-Guided Optimization (PGO) on Clazy
Product: [Developer tools] clazy Reporter: Alexander Zaitsev <zamazan4ik>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: normal CC: smartins
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Zaitsev 2023-07-15 00:40:08 UTC
Hi!

Recently I checked Profile-Guided Optimization (PGO) optimization on many kind of software - the results are available here: https://github.com/zamazan4ik/awesome-pgo/

One of the related to Clazy project result is optimizing LLVM-based projects: https://github.com/llvm/llvm-project/issues/63486

I think the same approach should be applicable to Clazy as well since Clang-based tooling like Clang, Clangd, Clang Tidy is improved by PGO according to my tests. Would be great to see PGO-optimized Clazy in reality. Maybe some kind of build option with PGO will be a good starting point.