What is the document about the trace of ldc2
d007
d007 at gmail.com
Mon Apr 10 14:20:26 UTC 2023
On Monday, 10 April 2023 at 13:43:09 UTC, Richard (Rikki) Andrew
Cattermole wrote:
> The time trace format that ldc outputs comes from Google.
>
> It is used by Chrome's dev tools; Chrome has a built in
> visualizer for the format (now deprecated): chrome://tracing
>
> Perfetto should be preferred instead: https://ui.perfetto.dev/
>
> File format documentation (out of date):
> https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview
>
> You need to use a visualizer to make sense of the data. Such as
> the bundled with ldc tool timetrace2txt.
I build with -O0 and -c to check the build time cost. (avoid link
and too much Optimize)
I find the write file(s) process take 60% time for most case.
the output object file size is not big(like 1.4M), but take 650ms.
is there some time coat action for Write file(s) ?
More information about the digitalmars-d-ldc
mailing list