Skip to content

improve performance by doing profile guided optimisation #101

@CommanderStorm

Description

@CommanderStorm

I think we could eek a few percent out of doing PGO and BOLT using cargo-pgo in the final docker build.
I have not looked into how much specifically.
I would expect at most an 3-5% boost in performance given how non-cpu heavy bbox is.

Docs: https://doc.rust-lang.org/beta/rustc/profile-guided-optimization.html
Blog: https://kobzol.github.io/rust/cargo/2023/07/28/rust-cargo-pgo.html

Note

the competition performance wise (maplibre/martin) currently also does not do this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions