template statistics

FeepingCreature feepingcreature at gmail.com
Tue Jun 2 08:37:35 UTC 2020


On Tuesday, 2 June 2020 at 06:47:54 UTC, Walter Bright wrote:
> Many people are trying to figure out what templates are blowing 
> up their compile. This should help:
>
> https://github.com/dlang/dmd/pull/11208

Nice!

Wishlist: if you could dump out a template instantiation 
backtrace combined with system time for every template 
declaration start and end, it should be easy to convert this into 
callgrind format ( 
https://valgrind.org/docs/manual/cl-format.html ), which would 
let us use graphical profilers with it.


More information about the Digitalmars-d mailing list