template statistics
Stefan Koch
uplink.coder at googlemail.com
Tue Jun 2 11:28:21 UTC 2020
On Tuesday, 2 June 2020 at 08:37:35 UTC, FeepingCreature wrote:
> 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.
Check this branch out.
https://github.com/UplinkCoder/dmd/tree/dmd_tracing_2092
It doesn't do the cl-format.
But it should help in showing how-to add such per-symbol
performance info
More information about the Digitalmars-d
mailing list