News for hackers. Stuff that matters.
Re:Evaluation of CPU profiling tools: gperftools, Valgrind a... by gnufx on Tuesday November 12, 2019 @09:04AM (#21514122)
That may be OK in simple cases where you can easily eyeball it, if you're only interested in aggregated CPU time as a metric, and if you win most from optimizing the obvious function in all modes of the program. That's not necessarily the case in complex scientific codes, for instance, especially parallel ones.
Re:Evaluation of CPU profiling tools: gperftools, Valgrind a... by foota on Tuesday November 12, 2019 @05:04PM (#21518671)
This is true. It's more useful for optimizing usage than it is for deep sleuthing of "why is this particular thing performing poorly".