Tagged Questions
3
votes
1answer
134 views
Can profiling be used to verify if optimization was successful?
I know that profiling is useful to identify bottlenecks and determining what parts of the code require how much time to execute. The latter isn't always very easy to track in the midst of other paths ...
19
votes
10answers
576 views
Is it always wrong to optimize before profiling?
I see the mantra of "profiling before optimization" repeated again and again here, on SO, and elsewhere. Although I certainly use profiling tools, I'm only occasionally surprised by the results. It ...
8
votes
10answers
307 views
Where do you optimize?
There are two areas to possibly optimize for speed in:
Where the most time is spent
The code that is called the most
Which is the best place to start optimizing?
Often code that is called the ...