Some years ago I was told about a study into code reuse. Apparently it was found that, on average, programmers have a 7 minute window when searching for code to reuse. If th
Profile the whole application and start refactoring from the heavier section of code. (80% of time spent on 20% of most used code)
Use a profiling tool which has capability to identify memory leaks, repeated calls, lengthy calls, unfreed memory, undisposed resources etc,.
By rule, New code always uses best practice.