llvm-project/llvm/test/tools/llvm-cov
Max Moroz a80d9ce5cf Speeding up llvm-cov export with multithreaded renderFiles implementation.
Summary:
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. Also added flags to skip generating parts of the output to trim the output size.

Patch by Sajjad Mirza (@sajjadm).

Reviewers: Dor1s, vsk

Reviewed By: Dor1s, vsk

Subscribers: liaoyuke, mgrang, jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59277

llvm-svn: 356178
2019-03-14 17:49:27 +00:00
..
Inputs [llvm-cov] Add support for gcov --hash-filenames option 2019-02-19 20:45:00 +00:00
binary-formats.c [llvm-cov] Delete custom JSON serialization code (NFC) 2018-09-12 21:59:38 +00:00
combine_expansions.cpp
copy_block_helper.m
cov-comdat.test
deferred-region.cpp
demangle.test
dir-with-filtering.test
double_dots.c
export_functions.test Speeding up llvm-cov export with multithreaded renderFiles implementation. 2019-03-14 17:49:27 +00:00
gcov47_compatibility.cpp
hideUnexecutedSubviews.test
ifdef.c
ignore-filename-regex.test
lit.local.cfg
llvm-cov.test [llvm-cov] Add support for gcov --hash-filenames option 2019-02-19 20:45:00 +00:00
load-multiple-objects.test
multiple-files.test
multiple-objects.test
multithreaded-report.test
name_whitelist.test
native_separators.c
path_equivalence.c
prefer_used_to_unused.h
prevent_false_instantiations.h
range_based_for.cpp [gcov] Fix wrong line hit counts when multiple blocks are on the same line 2018-09-20 16:09:30 +00:00
report.cpp
scan-directory.test
showExpansions.cpp Speeding up llvm-cov export with multithreaded renderFiles implementation. 2019-03-14 17:49:27 +00:00
showHighlightedRanges.cpp [llvm-cov] Delete custom JSON serialization code (NFC) 2018-09-12 21:59:38 +00:00
showLineExecutionCounts-lcov.test [llvm-cov] Add lcov tracefile export format. 2018-11-09 16:10:44 +00:00
showLineExecutionCounts.cpp [llvm-cov] Delete custom JSON serialization code (NFC) 2018-09-12 21:59:38 +00:00
showProjectSummary.cpp
showRegionMarkers.cpp [llvm-cov] Delete custom JSON serialization code (NFC) 2018-09-12 21:59:38 +00:00
showTabsHTML.cpp
showTemplateInstantiations.cpp
sources-specified.test
style.test
threads.c
universal-binary.c [llvm-cov] Delete custom JSON serialization code (NFC) 2018-09-12 21:59:38 +00:00
warnings.h
zeroFunctionFile.c