<div dir="auto">You can also take a look at templight: <a href="https://github.com/mikael-s-persson/templight">https://github.com/mikael-s-persson/templight</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020, 8:27 PM Dennis Luehring via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thx for the links, very promising<br>
<br>
Am 05.03.2020 um 20:22 schrieb Alexandre Ganea:<br>
> Hi Dennis,<br>
><br>
> Along with -ftime-trace, try either:<br>
> - Clang Build Analyzer: <a href="https://aras-p.info/blog/2019/09/28/Clang-Build-Analyzer/" rel="noreferrer noreferrer" target="_blank">https://aras-p.info/blog/2019/09/28/Clang-Build-Analyzer/</a><br>
> - See++ Compiler Profiler: <a href="https://github.com/Viladoman/SeeProfiler" rel="noreferrer noreferrer" target="_blank">https://github.com/Viladoman/SeeProfiler</a><br>
><br>
><br>
> -----Message d'origine-----<br>
> De : cfe-dev <<a href="mailto:cfe-dev-bounces@lists.llvm.org" target="_blank" rel="noreferrer">cfe-dev-bounces@lists.llvm.org</a>> De la part de Dennis Luehring via cfe-dev<br>
> Envoyé : March 5, 2020 2:16 PM<br>
> À : <a href="mailto:cfe-dev@lists.llvm.org" target="_blank" rel="noreferrer">cfe-dev@lists.llvm.org</a><br>
> Objet : [cfe-dev] Clang: How to Analyse Compiletime of Templates?<br>
><br>
> hello clang-devs,<br>
><br>
> 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)<br>
><br>
> i've read about /ftime<br>
><br>
> <a href="https://aras-p.info/blog/2019/01/16/time-trace-timeline-flame-chart-profiler-for-Clang/" rel="noreferrer noreferrer" target="_blank">https://aras-p.info/blog/2019/01/16/time-trace-timeline-flame-chart-profiler-for-Clang/</a><br>
><br>
> but that seems no to help with template instanciation<br>
><br>
> any advice?<br>
><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank" rel="noreferrer">cfe-dev@lists.llvm.org</a><br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" rel="noreferrer">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>