Profiling

drug drug2004 at bk.ru
Tue Feb 9 18:33:16 UTC 2021


On Tuesday, 9 February 2021 at 07:45:13 UTC, JG wrote:
> I was trying to profile a d program. So I ran: dub build 
> --build=profile. I then ran the program and it produced 
> trace.log and trace.def. I then ran d-profile-viewer and got 
> the following error:
>
> std.conv.ConvException@/home/jg/dlang/ldc-1.24.0/bin/../import/std/conv.d(2382): Unexpected '-' when converting from type char[] to type ulong

I'm guessing only but it looks like slurp is used to read text 
output but the format used does not correspond to the real data 
format.


More information about the Digitalmars-d-learn mailing list