Speed up code coverage script |
||
Issue descriptionRight now, generating the code coverage report is pretty slow, and it takes more than 10 minutes for ios_chrome_unittests.
,
Sep 12 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/87ca26a51832ddfc1f54d889f7e23412f4fdaa6c commit 87ca26a51832ddfc1f54d889f7e23412f4fdaa6c Author: Yuke Liao <liaoyuke@chromium.org> Date: Tue Sep 12 17:25:21 2017 [Coverage] Speed up code coverage report generation. Origianlly, the code coverage script uses "llvm-cov export" to get the code coverage, but the problem was that it took too long to run and contains a lot of unrelated information, and for example, it took more than 5 minutes to generate code coverage data for ios_chrome_unittests. This CL speeds up the report generation by changing to use "llvm-cov report", it's more hacky, but it's significantly faster. This change reduced the time to generate code coverage report for ios_chrome_unittests from more than 5 minutes to less than 1 minute. Bug: 763956 Change-Id: Ib62a29fef67ea6973e063893af2164b34a25841c Reviewed-on: https://chromium-review.googlesource.com/661677 Commit-Queue: Yuke Liao <liaoyuke@chromium.org> Reviewed-by: Mike Baxley <baxley@chromium.org> Cr-Commit-Position: refs/heads/master@{#501324} [modify] https://crrev.com/87ca26a51832ddfc1f54d889f7e23412f4fdaa6c/ios/tools/coverage/coverage.py
,
Sep 12 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by liaoyuke@chromium.org
, Sep 11 2017