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

Gábor Horváth via cfe-dev cfe-dev at lists.llvm.org
Thu Mar 5 12:17:47 PST 2020


You can also take a look at templight:
https://github.com/mikael-s-persson/templight

On Thu, Mar 5, 2020, 8:27 PM Dennis Luehring via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Thx for the links, very promising
>
> Am 05.03.2020 um 20:22 schrieb Alexandre Ganea:
> > Hi Dennis,
> >
> > Along with -ftime-trace, try either:
> > - Clang Build Analyzer:
> https://aras-p.info/blog/2019/09/28/Clang-Build-Analyzer/
> > - See++ Compiler Profiler: https://github.com/Viladoman/SeeProfiler
> >
> >
> > -----Message d'origine-----
> > De : cfe-dev <cfe-dev-bounces at lists.llvm.org> De la part de Dennis
> Luehring via cfe-dev
> > Envoyé : March 5, 2020 2:16 PM
> > À : cfe-dev at lists.llvm.org
> > Objet : [cfe-dev] Clang: How to Analyse Compiletime of Templates?
> >
> > 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?
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200305/e3fe419e/attachment.html>


More information about the cfe-dev mailing list