akyrtzi added a comment. Could you also add a `-terse` option, to avoid printing the full dependency info, if you mainly want to get the timing? Something like this:
T.stopTimer(); if (PrintTiming) llvm::errs() << llvm::format( "clang-scan-deps timing: %0.2fs wall, %0.2fs process\n", T.getTotalTime().getWallTime(), T.getTotalTime().getProcessTime()); if (Terse) { if (Format == ScanningOutputFormat::Full || Format == ScanningOutputFormat::FullTree || Format == ScanningOutputFormat::FullIncludeTree) { llvm::errs() << "num modules: " << FD->getNumModules() << '\n'; } return HadErrors; } Where `getNumModules()` is size_t getNumModules() const { return Modules.size(); } So you still get some very high-level info but not the whole dump of info. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147815/new/ https://reviews.llvm.org/D147815 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits