1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01: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
CoverageExporterJson.cpp [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
CoverageExporterJson.h
CoverageExporterLcov.cpp [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
CoverageExporterLcov.h
CoverageFilters.cpp
CoverageFilters.h
CoverageReport.cpp [Coverage] Add support for Branch Coverage in LLVM Source-Based Code Coverage 2021-01-05 09:51:51 -06:00
CoverageReport.h
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