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

Clean up of perf results accesses and storage #1352

Merged
merged 4 commits into from
Oct 5, 2023

Conversation

Stringy
Copy link
Collaborator

@Stringy Stringy commented Oct 3, 2023

Description

Removes some boilerplate from the tests around the printing and storage of various perf results after the tests have executed. Now, perf results are all handled within the integration tests base struct, and the test simply has to call WritePerfResults in TearDownSuite

This also fixes an issue where container stats weren't initialized properly, resulting in invalid perf reporting.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

Tested locally against RHEL 8 and RHEL 9

@Stringy Stringy requested a review from a team as a code owner October 3, 2023 13:24
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Kernel Method Without Collector Time (secs) With Collector Time (secs) Baseline median (secs) Collector median (secs) PValue

Copy link
Contributor

@ovalenti ovalenti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good to me ! I just noticed that the perf comment in the PR is empty. This is not related, right ?

@Stringy
Copy link
Collaborator Author

Stringy commented Oct 4, 2023

I just noticed that the perf comment in the PR is empty. This is not related, right ?

No, I think this bug has existed for a little while, though it might be affected by the change in names in the perf result (benchmark -> TestBenchmarkCollector) I'll investigate before merging

@Stringy Stringy merged commit a3b5197 into master Oct 5, 2023
38 checks passed
@Stringy Stringy deleted the giles/fix-test-perf-results branch October 5, 2023 08:26
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