pprof DLang needs?

welkam wwwelkam at gmail.com
Mon Apr 20 12:34:24 UTC 2020


On Monday, 20 April 2020 at 11:11:22 UTC, zoujiaqing wrote:
> On Monday, 20 April 2020 at 08:28:43 UTC, welkam wrote:
>> I use perf:
>> perf record -g <program_name>
>> then
>> perf report -g 'graph,0.5,caller'
>>
>> And for memory usage I use heaptrack. The new tool you propose 
>> needs to bring something new to be worth using over the others 
>> and I dont think rewriting tools that already exist is worth 
>> it. Better improve existing ones. The only thing my mentioned 
>> tools are missing is D symbol demangling.
>
> Thanks, I will be try :)

Tools that work with C programs also work with D programs. Also 
it would be nice to know what kind of information are you looking 
for. If you want to know what functions consume what time then 
there are plenty of tools. If you want to profile mutexes then it 
might be hard to do that with available tools. Just saying that D 
needs profiling tool is not enough to get to executable plan


More information about the Digitalmars-d mailing list