Re:MTuner: C/C++ memory profiler and memory leak finder
by GuB-42 on Sunday June 25, 2023 @07:52PM
(#36473918)
In addition, Valgrind is based on a VM and is very slow (a 10x slowdown is typical). MTuner is based on code injection and is presumably much faster.
Valgrind approach has the advantage of being very reliable, flexible, and able to run software unmodified. It has many tools (sanitizers, profilers, ...) and they are all best in class. They typically don't offer GUIs but there are external visualizers. It biggest disadvantage, besides not supporting Windows is that it is awfully slow, so much that it is generally unacceptable for user acceptance testing, let alone production, and sometimes, it is effectively not usable at all.
If it is like other memory debuggers I have used (ex: dmalloc), it is fast enough for normal use, but not as exhaustive, and sometimes a bit finnicky.
Valgrind approach has the advantage of being very reliable, flexible, and able to run software unmodified. It has many tools (sanitizers, profilers, ...) and they are all best in class. They typically don't offer GUIs but there are external visualizers. It biggest disadvantage, besides not supporting Windows is that it is awfully slow, so much that it is generally unacceptable for user acceptance testing, let alone production, and sometimes, it is effectively not usable at all.
If it is like other memory debuggers I have used (ex: dmalloc), it is fast enough for normal use, but not as exhaustive, and sometimes a bit finnicky.