Skip to content

Apply Profile-guided optimization to improve performance #9412

Closed
@FilipAndersson245

Description

@FilipAndersson245

Profile-guided optimization (PGO) shows great promise in improving the speed of software, last year tests where made on applying it on Rust itself improving build time by ~15%.
Would it be feasible to do something similar for Rust analyzer to improve its speed?
As i understand it the difficulties would be

  • gathering runtime statistics
  • longer compilation times

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-infraCI and workflow issuesA-perfperformance issuesC-enhancementCategory: enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions