Tracy Profiler Integration

Stefan Koch uplink.coder at googlemail.com
Tue Aug 4 08:44:08 UTC 2020


On Tuesday, 4 August 2020 at 08:13:15 UTC, DepresseD wrote:
> On Monday, 3 August 2020 at 20:36:51 UTC, Stefan Koch wrote:
>> Hello Folks,
>>
>> I am currently integrating the tracy profiler 
>> (https://github.com/wolfpld/tracy)
>> with dmd.
>>
>> Such that instead of the profiler in druntime, tracy can be 
>> used for instrumented profiling.
>>
>>
>> The current progress is here: 
>> https://github.com/dlang/dmd/compare/master...UplinkCoder:tracy?expand=1
>>  there are still some teething problems, but I am confident 
>> that it will be useful soon.
>>
>> Cheers,
>>
>> Stefan
>
>
> Wouldn't it be more useful for everyone, and for you too, to 
> complete a project instead of starting dozens at the same time? 
> I have completely lost hope of being able to see benefits from 
> the newCTFE

newCTFE in the end, has a lot less benefit than I first assumed.

Currently it is missing execption handling, and associative array 
support.
And of course there are some bugs in the featureset which is 
supported.

If I had had a good integrated profiler back then, and some of 
the code which I have access to now, I would probably never have 
started newCTFE, and would have tried to fix the template system 
itself.


More information about the Digitalmars-d mailing list