Skip to content

config: runtime: coverage-report: replace gcovr with lcov #1279

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

Closed
wants to merge 1 commit into from

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Aug 14, 2025

It turns out using gcovr for processing coverage data is extremely slow, leading to the coverage-report job timing out after 6 hours (!) when there are too many test jobs to process. Experiments show that lcov is ~2x faster than gcovr and can actually use parallelism to speed things even further.

The only downside here being that the HTML report is no longer a single page but has separate CSS and images.

Depends on kernelci/kernelci-core#2943

It turns out using `gcovr` for processing coverage data is extremely
slow, leading to the coverage-report job timing out after 6 hours (!)
when there are too many test jobs to process. Experiments show that
`lcov` is ~2x faster than `gcovr` and can actually use parallelism to
speed things even further.

The only downside here being that the HTML report is no longer a single
page but has separate CSS and images.

Signed-off-by: Arnaud Ferraris <[email protected]>
@a-wai a-wai requested review from nuclearcat and laura-nao August 14, 2025 07:24
@a-wai
Copy link
Contributor Author

a-wai commented Aug 20, 2025

Dropping this one as it doesn't actually solve the issue, will update #1272 with a better solution

@a-wai a-wai closed this Aug 20, 2025
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.

1 participant