Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename regression to delta and benchmark to baseline for pe…
…rf-tests (#1335) # Description This pull request involves renaming variables and types related to performance testing to improve clarity and consistency. The changes primarily focus on replacing the term "regression" with "delta" and "benchmark" with "baseline" across various files and functions. Key changes include: ### Variable Renaming: * [`test/e2e/jobs/perf.go`](diffhunk://#diff-4569b363dc867f6945f817268ae7e84f1f8918a68111f37521a99bac771e39bfL16-R23): Renamed `benchmarkFile` to `baselineFile` and `regressionFile` to `deltaFile`. Updated corresponding references in the `RunPerfTest` function. [[1]](diffhunk://#diff-4569b363dc867f6945f817268ae7e84f1f8918a68111f37521a99bac771e39bfL16-R23) [[2]](diffhunk://#diff-4569b363dc867f6945f817268ae7e84f1f8918a68111f37521a99bac771e39bfL57-R66) ### Type and Function Renaming: * [`test/e2e/scenarios/perf/get-perf-regression-results.go`](diffhunk://#diff-dbbb79840e326c98a0ebde2aeb87f497b77a3e7eadd3ffde31298d80a06e3ea6L43-R62): Renamed `RegressionResult` to `DeltaResult`, `GetNetworkRegressionResults` to `GetNetworkDeltaResults`, and updated all related variable names and function calls accordingly. [[1]](diffhunk://#diff-dbbb79840e326c98a0ebde2aeb87f497b77a3e7eadd3ffde31298d80a06e3ea6L43-R62) [[2]](diffhunk://#diff-dbbb79840e326c98a0ebde2aeb87f497b77a3e7eadd3ffde31298d80a06e3ea6L72-R130) [[3]](diffhunk://#diff-dbbb79840e326c98a0ebde2aeb87f497b77a3e7eadd3ffde31298d80a06e3ea6L139-R145) [[4]](diffhunk://#diff-dbbb79840e326c98a0ebde2aeb87f497b77a3e7eadd3ffde31298d80a06e3ea6L170-R170) ### Functionality Updates: * [`test/e2e/scenarios/perf/publish-perf-results.go`](diffhunk://#diff-4430a454bd27bd3b15ab45451b0554ba29d0b5b5657e0e6b9fbfe6f74d1dd191L43-R43): Updated to use `DeltaResult` instead of `RegressionResult` and renamed variables to reflect the new terminology. [[1]](diffhunk://#diff-4430a454bd27bd3b15ab45451b0554ba29d0b5b5657e0e6b9fbfe6f74d1dd191L43-R43) [[2]](diffhunk://#diff-4430a454bd27bd3b15ab45451b0554ba29d0b5b5657e0e6b9fbfe6f74d1dd191L71-R73) ## Related Issue If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request. ## Checklist - [ ] I have read the [contributing documentation](https://retina.sh/docs/contributing). - [ ] I signed and signed-off the commits (`git commit -S -s ...`). See [this documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) on signing commits. - [ ] I have correctly attributed the author(s) of the code. - [ ] I have tested the changes locally. - [ ] I have followed the project's style guidelines. - [ ] I have updated the documentation, if necessary. - [ ] I have added tests, if applicable. ## Screenshots (if applicable) or Testing Completed Please add any relevant screenshots or GIFs to showcase the changes made. ## Additional Notes Add any additional notes or context about the pull request here. --- Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more information on how to contribute to this project. --------- Signed-off-by: Ritwik Ranjan <[email protected]>
- Loading branch information