How to profile compile times of a source code?
Imperatorn
johan_forsberg_86 at hotmail.com
Sun Jan 31 13:15:54 UTC 2021
On Sunday, 31 January 2021 at 12:31:59 UTC, Johan Engelen wrote:
> On Sunday, 31 January 2021 at 12:16:50 UTC, Imperatorn wrote:
>> On Saturday, 30 January 2021 at 23:34:50 UTC, Stefan Koch
>> wrote:
>>> [...]
>>
>> Interesting. Is this something that we could get into dmd with
>> a switch? 🤔
>
> Try LDC 1.25 (now in beta testing) with --ftime-trace. Clang
> has the same option, so you can read more about it online in
> that context. Be sure to check out the related commandline
> flags.
> I recommend the Tracy UI to look at traces, because it is by
> far the fastest viewer of large traces.
> https://github.com/wolfpld/tracy
>
> -Johan
Cool, will take a look 👍
More information about the Digitalmars-d-learn
mailing list