1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/tools/llvm-cov
Choongwoo Han c78f1b079e [llvm-cov] Cache file status information
Currently, getSourceFile accesses file system to check if two paths are
the same file with a thread lock, which is a huge performance bottleneck
in some cases. Currently, it's accessing file system size(files) * size(files) times.

Thus, cache file status information, which reduces file system access to size(files) times.

When I tested it with two binaries and 16 cpu cores,
it saved over 70% of time.

Binary 1: 56 secs -> 3 secs
Binary 2: 17 hours -> 4 hours

Differential Revision: https://reviews.llvm.org/D97061
2021-03-03 10:04:07 -08:00
..
CMakeLists.txt
CodeCoverage.cpp [llvm-cov] Cache file status information 2021-03-03 10:04:07 -08:00
CoverageExporter.h Revert "[llvm-cov] Add option to whitelist filenames" 2019-10-29 22:38:38 -07:00
CoverageExporterJson.cpp [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
CoverageExporterJson.h Revert "[llvm-cov] Add option to whitelist filenames" 2019-10-29 22:38:38 -07:00
CoverageExporterLcov.cpp [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
CoverageExporterLcov.h Revert "[llvm-cov] Add option to whitelist filenames" 2019-10-29 22:38:38 -07:00
CoverageFilters.cpp CoverageFilters.h - reduce unnecessary includes to forward declarations. NFC. 2020-05-27 16:57:47 +01:00
CoverageFilters.h Fix -Wpedantic warning. NFC. 2020-05-27 15:57:03 -04:00
CoverageReport.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
CoverageReport.h Revert "[llvm-cov] Add option to whitelist filenames" 2019-10-29 22:38:38 -07:00
CoverageSummaryInfo.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
CoverageSummaryInfo.h [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
CoverageViewOptions.h [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
gcov.cpp [llvm-cov gcov] Add --demangled-names (-m) 2020-09-16 23:18:50 -07:00
llvm-cov.cpp
RenderingSupport.h
SourceCoverageView.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
SourceCoverageView.h [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
SourceCoverageViewHTML.cpp [llvm] Remove redundant string initialization (NFC) 2021-01-12 21:43:46 -08:00
SourceCoverageViewHTML.h [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
SourceCoverageViewText.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
SourceCoverageViewText.h [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
TestingSupport.cpp [Alignment][NFC] Remove unneeded llvm:: scoping on Align types 2019-09-27 12:54:21 +00:00