mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
c78f1b079e
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CodeCoverage.cpp | ||
CoverageExporter.h | ||
CoverageExporterJson.cpp | ||
CoverageExporterJson.h | ||
CoverageExporterLcov.cpp | ||
CoverageExporterLcov.h | ||
CoverageFilters.cpp | ||
CoverageFilters.h | ||
CoverageReport.cpp | ||
CoverageReport.h | ||
CoverageSummaryInfo.cpp | ||
CoverageSummaryInfo.h | ||
CoverageViewOptions.h | ||
gcov.cpp | ||
llvm-cov.cpp | ||
RenderingSupport.h | ||
SourceCoverageView.cpp | ||
SourceCoverageView.h | ||
SourceCoverageViewHTML.cpp | ||
SourceCoverageViewHTML.h | ||
SourceCoverageViewText.cpp | ||
SourceCoverageViewText.h | ||
TestingSupport.cpp |