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?
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