[PATCH] D112835: [clangd] Record time spent in tidy checks

2021-10-29 Thread Sam McCall via Phabricator via cfe-commits
sammccall added a comment. My only concern with this is the overhead of the timing itself. We look up the hash bucket, turn timers on/off... If I'm understanding right we do this once per AST node per registered matcher. Are you able to see any performance difference with this tracing on vs off?

[PATCH] D112835: [clangd] Record time spent in tidy checks

2021-10-29 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. kadircet added a reviewer: sammccall. Herald added subscribers: usaxena95, arphaman. kadircet requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra. Repository: rG LLVM Github Mo