The profiler will tell you which parts of the program contribute most of the run time
This, in turn, allows you to identify the likely targets for improvement