Profiling the D code with gperftools (Google Performance Tools)

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Mar 30 13:56:18 PDT 2017


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



More information about the digitalmars-d-ldc mailing list