Skip to content

Performance measurements for day-to-day development of Rustls #1385

@aochagavia

Description

@aochagavia

See #1205 (comment) for context

It would be very useful to have automated and accurate feedback on a PR's performance impact compared to the main branch. It should be automated, to ensure it is always used, and it should be accurate, to ensure it is actionable (i.e. too much noise would train reviewers to ignore the information). The approach used by rustc is a good example to follow, though its development required a daunting amount of work.

We might want to keep an up-to-date plot of performance over time, too, for two reasons:

  1. As a coherence check (i.e. if the results are truly accurate, we should see little noise over time, and be able to explain any significant performance differences).
  2. To reveal long-term performance trends after a significant series of changes (e.g. after someone spent 6 months on an effort to optimize the library, after a series of refactorings to address security audit findings, etc).

Metadata

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