valgrind

Brian Schott briancschott at gmail.com
Mon Mar 11 11:39:51 PDT 2013


On Sunday, 10 March 2013 at 11:06:41 UTC, simendsjo wrote:
> I haven't used valgrind/cachegrind on C/C++ programs before, 
> but I'm pretty sure it doesn't behave as expected on D code. I 
> found this page to fix the mangling issue: 
> http://wiki.dlang.org/Other_Dev_Tools, but all callgraphs is 
> empty.

If you're on Linux I'd recommend that you also look at Perf[1], 
as Valgrind is sometimes wrong about where your code is slow.

[1] https://perf.wiki.kernel.org/index.php/Tutorial


More information about the Digitalmars-d-learn mailing list