On 11/18/19 10:36 AM, Jacob Carlborg wrote:
On Monday, 18 November 2019 at 15:31:02 UTC, Steven Schveighoffer wrote:
I don't think this will work for me, as this isn't CTFE, and I'm assuming the instantiated templates won't be collected because they stay referenced for the whole program.

You could also combine that flag with the GC profiling flags.


That's a good point. I tried the profiling flags, but realized really quickly that it doesn't use the GC. But if you told it to use the GC, then that info becomes relevant.

I also noticed that dub suppresses the output of the profiler somehow (I had to run it with -v, and then run the compile line by hand to get it to do the profiling).

-Steve

Reply via email to