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

Optimize code coverage processing #675

Merged
merged 3 commits into from
Dec 21, 2023

Conversation

mwperina
Copy link
Member

  • Log test execution and code coverage collection times
  • Align pytest execution for code coverage with integration tests
  • Generate coverage info files within containers

@mwperina
Copy link
Member Author

@ArtiomDivak

Perform all processing around generating code coverage info file within
relevant container to improve performance.

Signed-off-by: Martin Perina <[email protected]>
@mwperina mwperina force-pushed the optimize-code-coverage branch from 8a503e9 to 14f6c2c Compare December 20, 2023 16:54
@mwperina
Copy link
Member Author

On my machine test execution with code coverage enabled takes around 460 seconds, this patch decreases the execution time approximately to 170 seconds.

Copy link
Member

@engelmi engelmi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ArtiomDivak ArtiomDivak left a comment

Choose a reason for hiding this comment

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

LGTM

@mwperina mwperina merged commit ccf1a64 into eclipse-bluechi:main Dec 21, 2023
@mwperina mwperina deleted the optimize-code-coverage branch December 21, 2023 09:01
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.

3 participants