Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Profiling Tests CI to release workflow to create a baseline for master performance #3625

Closed
wants to merge 2 commits into from

Conversation

Robertorosmaninho
Copy link
Collaborator

This modification is necessary to create a baseline for newer branches to compare the performance of their changes against what we already have on master.

This modification sets the master's branch as the baseline and implements the tests in the release workflow because it already builds the K package. To make it in the develop's branch, a new workflow would be necessary to either build K from source or create and install the package.

Hopefully, this is a temporary fix, as I'm already working on a script to populate develop without re-running the Tests, and this was already accepted as a bug/possible feature by Bencher's maintainer here. I'll implement whatever solution becomes usable first so we can stop running these tests on every release.

Both solutions involve post the last result of a PR merged into the develop branch on Bencher's db. Once this is ready, the PR will get the baseline from develop instead of master.

@Robertorosmaninho Robertorosmaninho requested a review from a team as a code owner September 7, 2023 13:15
@Robertorosmaninho Robertorosmaninho self-assigned this Sep 7, 2023
@rv-jenkins rv-jenkins changed the base branch from master to develop September 7, 2023 13:15
rv-jenkins pushed a commit that referenced this pull request Sep 13, 2023
…nce on Bencher (#3627)

This modification is necessary to create a baseline for newer branches
to compare the performance of their changes against what we already have
in develop.

This modification is necessary to create and populate the develop's
branch as the baseline for newer branches.
This script `post_results_to_develop.py` works by getting the last
benchmarks reports of the last branch merged into develop, aggregating
them in one file, and posting them on the develop branch of Bencher.

Hopefully, this is a temporary fix, as this was already accepted as a
bug/possible feature by Bencher's maintainer
bencherdev/bencher#187.

This PR, unlike #3625,
doesn't need to rerun all `Performance Tests` on the develop or master
branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant