[Digikam-devel] Memcheck - debugfull or release compile?

Andi Clemens andi.clemens at gmx.net
Mon Oct 5 08:58:26 BST 2009


Hi,

for callgrind, using an release build (or an optimized debug build) is the 
better choice, since you want to check performance and it doesn't make sense 
to run the tool on not optimized code.

But what about memcheck? I usually use memcheck with an optimized build, since 
it is faster. But it also finds less errors, errors that might have been 
"optimized away" :-)

The question is, are these optimizations the same for every platform? Or is it 
better to run memcheck on a debugfull build instead, to catch all nasty 
errors?

Andi



More information about the Digikam-devel mailing list