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

Add regression check automation #769

Closed

Conversation

coderbirju
Copy link
Contributor

@coderbirju coderbirju commented Aug 7, 2023

Needs #770 #785

This commit adds benchmark_regression_test.yml workflow that runs a regression test by comparing the benchmark results of the current branch with the previous benchmark results of the code in main branch.

Issue #, if available:

Description of changes:

  • Add a new workflow benchmark_regression_test.yml that runs on all new PR requests.

Testing performed:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@coderbirju coderbirju marked this pull request as ready for review August 10, 2023 17:04
@coderbirju coderbirju requested a review from a team as a code owner August 10, 2023 17:04
@sparr
Copy link
Contributor

sparr commented Aug 10, 2023

The failure is because there is no prior benchmark to download. How will that cycle be started?

@coderbirju
Copy link
Contributor Author

The failure is because there is no prior benchmark to download. How will that cycle be started?

We should merge #770 before this PR, It should be able to fetch the required files from the uploaded artifacts

@coderbirju coderbirju marked this pull request as draft August 14, 2023 16:43
@coderbirju coderbirju force-pushed the add_regression_check_automation branch from 25747ae to 61c5d20 Compare August 14, 2023 17:54
@coderbirju coderbirju marked this pull request as ready for review August 14, 2023 18:23
@coderbirju coderbirju force-pushed the add_regression_check_automation branch 3 times, most recently from 61c409b to 7685dfc Compare August 14, 2023 21:35
This commit adds benchmark_regression_test.yml workflow that runs a
regression test by comparing the benchmark results of the current branch
with the previous benchmark results of the code in main branch.

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
@coderbirju coderbirju force-pushed the add_regression_check_automation branch from 7685dfc to 64fca1a Compare August 14, 2023 22:00
This commit is a test to check if running both the benchmarks in the
same workflow would make any difference to the results

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
@coderbirju coderbirju force-pushed the add_regression_check_automation branch from f642744 to 4ecf750 Compare August 15, 2023 18:29
This commit changes the regression test logic to run benchmarks on main
brnach by checking out in the workflow itself instead of a previously
uploaded artifact

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
This commit adds changes to the check_regression.sh script to skip the
first benchmark times in both the old and new benchmark results and
check for regression in the newly calculated p90, this is to combat the
skewed reults in the benchmark results due to the variability in github
runners. It also moves the threshold limit to 150%

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
@coderbirju coderbirju force-pushed the add_regression_check_automation branch from e3c9110 to aacef39 Compare August 16, 2023 20:01
coderbirju and others added 6 commits August 16, 2023 20:03
Added print statements to test the benchmark results

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
Commit test 4

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
This commit adds benchmark_regression_test.yml workflow that runs a
regression test by comparing the benchmark results of the current branch
with the previous benchmark results of the code in main branch.

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
This commit is a test to check if running both the benchmarks in the
same workflow would make any difference to the results

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
This commit adds 10 secs to the RunContainerTaskForReadyLine
function

Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
@coderbirju coderbirju marked this pull request as draft August 17, 2023 01:11
@coderbirju coderbirju closed this Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants