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

Make C++ code coverage collection faster #5882

Open
iirina opened this Issue Aug 14, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@iirina
Contributor

iirina commented Aug 14, 2018

Currently C++ coverage is 2x slower than just running the corresponding tests. The goal is to have similar times for running bazel test and bazel coverage on the same targets.

The plan is to use:

For more details see Bazel Coverage document.

@iirina iirina self-assigned this Aug 14, 2018

@iirina iirina added P2 and removed P1 labels Aug 14, 2018

bazel-io pushed a commit that referenced this issue Aug 23, 2018

Move C++ coverage collection logic out of collect_coverage.sh
This PR pulls the C++ code coverage collection logic out of `toos/test/of collect_coverage.sh` and moves it to a new script `tools/test/collect_cc_coverage.sh`. There are 2 reasons for this:
* to make the scripts easier to understand and maintain
* in preparation for having a more general code collection logic

This PR does not change the behavior of Bazel, is just a no-op refactoring.

Progress on #5882

Closes #5801.

PiperOrigin-RevId: 209923852
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment