[clang-tools-extra] [clang-doc] add ftime profiling (PR #97644)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 09:59:18 PDT 2024


================
@@ -670,6 +671,7 @@ llvm::Error ClangDocBitcodeReader::readRecord(unsigned ID, T I) {
 
 template <>
 llvm::Error ClangDocBitcodeReader::readRecord(unsigned ID, Reference *I) {
+  llvm::TimeTraceScope("Reducing infos", "readRecord");
----------------
ilovepi wrote:

I know this is terminology already in clang-doc, but lets come up w/ something a bit more informative than "Reducing Infos". TBH, the whole "Infos" bit has always rubbed me the wrong way, so even just `Reducing Results` is better IMO.  Use your judgement, but I think we can find a better name for these than `Infos`.

https://github.com/llvm/llvm-project/pull/97644


More information about the cfe-commits mailing list