www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Tracy

reply JG <JG somewhere.com> writes:
There was a message a while back 
(https://forum.dlang.org/post/fyakhpjbcpzqegfevxwg forum.dlang.org)
about adding support for tracy.
When I asked a question about compile time performance I received 
the following instructions:
https://forum.dlang.org/post/eevoyuwhbuycyzgxsqsc forum.dlang.org

I guess this means that tracy has been integrated?
If this is so is it documented anywhere how to use it?
Aug 06 2021
parent reply Dennis <dkorpel gmail.com> writes:
On Friday, 6 August 2021 at 12:30:16 UTC, JG wrote:
 I guess this means that tracy has been integrated?
 If this is so is it documented anywhere how to use it?
Stefan Koch's WIP tracy integration in DMD is completely separate from Johan Engelen's time tracing added to LDC in 1.25.0. Note that the latter is not specific to tracy, I just recommended using tracy to view the trace file because alternatives I tried (Google Chrome and Speedscope) are terribly slow, see: https://forum.dlang.org/post/phuwlvsjigbyfvslkwpd forum.dlang.org I'm not aware of any documentation of the feature.
Aug 07 2021
next sibling parent JG <JG somewhere.com> writes:
On Saturday, 7 August 2021 at 14:36:39 UTC, Dennis wrote:
 On Friday, 6 August 2021 at 12:30:16 UTC, JG wrote:
 I guess this means that tracy has been integrated?
 If this is so is it documented anywhere how to use it?
Stefan Koch's WIP tracy integration in DMD is completely separate from Johan Engelen's time tracing added to LDC in 1.25.0. Note that the latter is not specific to tracy, I just recommended using tracy to view the trace file because alternatives I tried (Google Chrome and Speedscope) are terribly slow, see: https://forum.dlang.org/post/phuwlvsjigbyfvslkwpd forum.dlang.org I'm not aware of any documentation of the feature.
Thanks, a lot.
Aug 07 2021
prev sibling parent reply SealabJaster <sealabjaster gmail.com> writes:
On Saturday, 7 August 2021 at 14:36:39 UTC, Dennis wrote:
 I'm not aware of any documentation of the feature.
Could this be fixed? Or is this intentional?
Aug 07 2021
parent Dennis <dkorpel gmail.com> writes:
On Sunday, 8 August 2021 at 01:37:42 UTC, SealabJaster wrote:
 Could this be fixed? Or is this intentional?
Of course it *could*, anyone can go to [the dlang wiki](https://wiki.dlang.org/LDC) and add a page for it. Johan Engelen is still working on [improving the feature](https://github.com/ldc-developers/ldc/pull/3797), maybe he is intentionally waiting for the feature to reach maturity before putting it on the wiki or [his blog](https://johanengelen.github.io/), but I can't say.
Aug 08 2021