4 ms·
Precisely this. The advantages that can be gained from detailed and effective use of a profiler can't be underestimated. You no longer need to guess at where i
by mijoharas 9y ago
Precisely this. The advantages that can be gained from detailed and effective use of a profiler can't be underestimated.
You no longer need to guess at where in your code something is taking up CPU or memory, just look. I'd say the ability to effectively use a profiler is one of the most important skills for a software dev (yet one that many people overlook).
- maccard 9y agoI've found that in the length of time people have spent speculating about what's slow and what's not slow, I've measure it, and have proof. Another advantage of profiling is that it improves your intuition about what will be slow. When I profile my existing code add, I tend to see the same things come up over and over again - vector resizing, overly broad mutexes, wrong data structure choice. Seeing these every time means that I can often pre empt these issues, but I always profile it to get hard. Numbers before and after.