LDC 1.25.0
Johan Engelen
j at j.nl
Mon Feb 22 11:57:46 UTC 2021
On Monday, 22 February 2021 at 07:20:16 UTC, kinke wrote:
> On Sunday, 21 February 2021 at 21:58:48 UTC, Dennis wrote:
>> On Sunday, 21 February 2021 at 18:26:38 UTC, kinke wrote:
>>> - Profile/trace LDC invocations via --ftime-trace.
>>
>> Is there more info on this? I tried it on a simple file, it
>> generates a large json file.
>> Can this be inspected to reduce compile times? The changelog
>> and pull request do not reveal much info on how to use it for
>> the uninformed.
>
> See Johan's comment here:
> https://forum.dlang.org/post/usyrbgwzzwxnzzhqergx@forum.dlang.org
Thanks kinke.
This article explains the basics:
https://www.snsystems.com/technology/tech-blog/clang-time-trace-feature
I'm aware there is very little documentation about this... I lack
the time to write up more details and promote it better. Now that
it's released, I hope promotion can be picked up by LDC's users.
Here is an example of how it can help:
https://github.com/dlang/phobos/pull/7676#issuecomment-715373535
There is definitely room for improvement, but it requires user
feedback and consideration of their different use cases.
-Johan
More information about the Digitalmars-d-announce
mailing list