Add LTO + PGO + Bolt optimizations
- Dominant language
- C
- Stars
- 1.5k
- Forks
- 243
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 37
Description
**Is your feature request related to a problem? Please describe.**
Not actually a problem - just an improvement request.
**Describe the solution you'd like**
Add support for building `comdb2` with enabled LTO + PGO + BOLT. It allows getting more performance from the application. E.g. ScyllaDB in some tests up to 20% performance win from the optimizations above.
**Describe alternatives you've considered**
Left all things as is :)
**Additional context**
Such changes could influence significantly on the CI pipelines. Since LTO requires much more RAM during the build (especially "fat" LTO) and triggers more UB shootings. PGO and BOLT require multi-stage builds, so it increases the release build time.
Contributor guide
Assessment
This issue has not been assessed yet.