Build time
JG
JG at somewhere.com
Sat Jul 24 09:12:15 UTC 2021
On Saturday, 24 July 2021 at 08:26:39 UTC, JG wrote:
> On Friday, 23 July 2021 at 20:03:22 UTC, Dennis wrote:
>> On Friday, 23 July 2021 at 18:53:06 UTC, JG wrote:
>>> [...]
>>
>> You can try profiling it with LDC 1.25 or later. Add this to
>> dub.sdl:
>>
>> [...]
>
> Thanks for this suggestion. Unfortunately this makes the
> compile use too much memory for my system and so it gets killed
> before the end and no my-trace.tracy file is produced. I will
> try building on parts of the program with this and see if I can
> see what is going on.
Got this to work after removing part of the program, the slowest
parts are in library code (sumtype match to be precise). I will
look into whether my usage can be improved.
I should also mention that what I said about compile time was a
little inaccurate, some of that time linking (which involves
llvm).
More information about the Digitalmars-d-learn
mailing list