[PATCH] D58675: [clang] Adds `-ftime-trace` option to clang that produces Chrome `chrome://tracing` compatible JSON profiling output dumps
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 13 14:37:16 PDT 2019
rnk added a comment.
Very cool! I'll take a look, I wasn't aware this had been rebased and uploaded, I was thinking about doing it myself yesterday as a side project.
As I think I've said elsewhere, I'm really excited to give users the tools they need to analyze why their code compiles slowly. If we just give them the tools, maybe they will restructure their code on their own and they won't come asking, "why is the compiler so slow on my (many transitive includes | template metaprogram)?".
I'll take a look and try to get back with some thoughts.
CHANGES SINCE LAST ACTION
More information about the cfe-commits