Re:How tcmalloc Works
by jpfr on Tuesday November 11, 2014 @08:22AM
(#8589630)
True. Valgrind slows things considerably.
In the end, what to use is a matter of workflow and convenience. Good to know how tcmalloc makes debugging memleaks easier.
Just for for completeness, a third option would be a tracing tool that hooks into the kernel syscalls (e.g. the lttng project). They have nearly zero performance penalty as well.
In the end, what to use is a matter of workflow and convenience. Good to know how tcmalloc makes debugging memleaks easier.
Just for for completeness, a third option would be a tracing tool that hooks into the kernel syscalls (e.g. the lttng project). They have nearly zero performance penalty as well.