Skip to content

Benchmarks in MR/PR: List differences to main branch #839

Description

@sophie-h

Maybe this feature exists, and I just can't find it in the docs:

I am running benchmarks on bencher.dev's bare-metal runners for my main branch. For merge requests, I have a manual job that can be started to check the performance changes the merge request brings. However

  • The output does not give me a comparison of the performance changes towards the main branch. --start-point sounds like the thing to use ("Historical Metrics and optionally Thresholds are copied over from the Start Point."). But I still don't get a comparison in the output of bencher run
  • I also don't want to store the benchmarks for MRs permanently, so I'm not sure what to supply as a --branch because no matter what I supply, it will be stored under that branch permanently.
  • The bencher run output links me to the isolated results of the run. But I would like to have an overview of all results, in comparison to the main branch. Maybe as graphs with the new merge request data point marked?

The goal is to post these results as comment in GitLab, which is trivial to add as a curl command if I have the output from bencher. The GitLab metrics report would probably solve all my issues, but GNOME runs the free version of GitLab, which doesn't have the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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