bloomberg / bloomberg/comdb2

Add LTO + PGO + Bolt optimizations

Open
#3,597 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.