Skip to content

Evalaute Profile-Guided Optimization (PGO) and LLVM BOLT #564

Open
@zamazan4ik

Description

Hi!

Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects. The results are here.

Since PGO showed measurable improvements in compiler-like workloads (Clang, GCC, Rustc, etc.) I think it could be helpful to check PGO for the FBThrift compiler too.

We need to perform PGO benchmarks on FBThrift compiler. And if it shows improvements - add a note to the documentation about possible improvements in FBThrift compiler performance with PGO. Providing an easier way (e.g. a build option) to build scripts with PGO can be useful for the maintainers and end-users too. Reducing compile time is important for CI and local developers' experience.

Also, since Facebook created BOLT (LLVM BOLT) I think would be great to see BOLT results on FBThrift compiler as well.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions