Tutorial on LDC's -ftime-trace

Johan j at j.nl
Mon May 1 18:12:47 UTC 2023


On Monday, 1 May 2023 at 17:56:21 UTC, Johan wrote:
> On Monday, 1 May 2023 at 14:00:23 UTC, Mike Parker wrote:
>> Dennis Korpel has a new tutorial out on the foundation's 
>> YouTube channel, showing how to employ LDC's -ftime-trace 
>> option to improve your project's compile times. This can come 
>> in handy if you're heavily using metaprogramming or CTFE.
>>
>> https://youtu.be/b8wZqU5t9vs
>
> Thanks Dennis for making the video.
>
> Does anybody have an idea about how change the txt output to 
> trick code-folding editors in enabling folding the 
> timetrace2txt output?

Looks like indentation alone would already do the trick for 
SublimeText. So I'll see about implementing an `--indentation=x` 
option for timetrace2txt to indent the list entries instead of 
showing the fancy tree view.

cheers,
   Johan




More information about the Digitalmars-d-announce mailing list