Why is std.regex slow, well here is one reason!

Johan j at j.nl
Fri Feb 24 11:43:12 UTC 2023


On Friday, 24 February 2023 at 10:52:37 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> I'm going to be totally honest, I have no idea how to use that 
> information.
>
> Its not in a format that is easy to figure out.

The format is chromium's: 
https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/

If you use the Chrome browser, go to `about:tracing`.
See here for some screenshots of what it looks like: 
https://aras-p.info/blog/2019/01/16/time-trace-timeline-flame-chart-profiler-for-Clang/

I have not yet seen a tool that converts it into ASCII as you 
propose, might be a nice project for someone to work on :)

(the chromium time trace format is used by other tools too, 
notably Clang, so the ASCII tool would be appreciated by more 
than just LDC users)

cheers,
   Johan



More information about the Digitalmars-d mailing list