Profiling the D code with gperftools (Google Performance Tools)

Prasun Anand via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Mar 31 08:38:36 PDT 2017


On Thursday, 30 March 2017 at 20:56:18 UTC, Johan Engelen wrote:
> On Thursday, 30 March 2017 at 17:51:34 UTC, Prasun Anand wrote:
>> Hi,
>>
>> I have been working on a Bioinformatics tool that handles 
>> large matrices, say 8000 rows * 8000 columns.
>>
>> I was interested in profiling my D code and find out which 
>> function executes for what duration(clock ticks). I used 
>> gperftools(Google Performance Tools) and hence,
>> created the D bindings for it and released it as a dub package 
>> "gperftools_d"
>
> Nice.
>
> Perhaps you could try and get D functionname demangling in 
> gperftools?  ;-)
>
> cheers,
>   Johan

Thanks :)

Function-name demangling might be there in the next release :).

Regards,
Prasun



More information about the digitalmars-d-ldc mailing list