Skip to content

Investigate usage of BOLT #16268

Closed
Closed
@deeprobin

Description

@deeprobin

Description

BOLT was a Facebook research project that has since been merged into LLVM.

It is a post-link optimizer that optimizes the binary based on a profile, as the binary layout can have a certain influence on performance.

We could possibly try this out in the context of PHP - there are now more and more open source projects that use BOLT.

For example, rustc, the Rust compiler has implemented this in its CI pipeline (3-5% performance improvement).
There was also a blog article for Postgres. Even more performance was achieved there.

I could well imagine that BOLT would do PHP a lot of good.
However, BOLT is only supported for Linux binaries - whether Windows & *BSD support is coming is questionable.

What do you think? Should we try it out in the context of PHP?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions