[PATCH] D59277: Speeding up llvm-cov with multithreaded renderFiles.

Sajjad Mirza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 16:07:01 PDT 2019


sajjadm created this revision.
sajjadm added a reviewer: Dor1s.
Herald added subscribers: llvm-commits, jdoerfert, mgrang.
Herald added a project: LLVM.

CoverageExporterJson::renderFiles accounts for most of the
execution time given a large profdata file with multiple binaries.

Proposed solution is to generate JSON for each file in parallel and
sort at the end to preserve deterministic output.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D59277

Files:
  llvm/tools/llvm-cov/CodeCoverage.cpp
  llvm/tools/llvm-cov/CoverageExporterJson.cpp
  llvm/tools/llvm-cov/CoverageViewOptions.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59277.190352.patch
Type: text/x-patch
Size: 6202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190312/ab5a5d08/attachment.bin>


More information about the llvm-commits mailing list