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.
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
comdb2with 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.