Line profiler
If you want to get line-by-line execution times for your running process, select Profile the Process | Attach Profiler in the Run tool window. When you click Stop Profiling and Show Results or the process finishes, the respective runtime will appear for lines that were executed for a significant amount of time.
