[cfe-dev] Clang: How to Analyse Compiletime of Templates?

Dennis Luehring via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 5 11:15:44 PST 2020


hello clang-devs,

is clang able to help me to finde the most compiletime consuming
templates in a 500KLOC app
which uses a huge template library - something like a overview what
templates are reasonable to optimize
(in my case hide the template behind a specialized interface)

i've read about /ftime

https://aras-p.info/blog/2019/01/16/time-trace-timeline-flame-chart-profiler-for-Clang/

but that seems no to help with template instanciation

any advice?



More information about the cfe-dev mailing list