why dont IDE's offer built in code timing like break points? <p>I find timing my code for performance to be a bit of a headache and I have to assume this is a common problem for folks.</p> <p>Adding in a bunch of code to time my loops is great but often there is more overhead in adding the timing checks than adding a parallel task. making a loop parallel can take seconds whereas adding in timing chunks requires several lines of code and be dangerous if forgotten.</p> <p>So... My question is why dont IDE's include this ability to time chunks of code like a break point? Something like i mark a section of code and tell it to dump the timing output to a console with some options to make it more readable. averages and such.</p> <p>I know break points can seriously hamper performance but there must be an easier way to time specific chunks of code then to write all my own timing routines for each chunk of code i want to check. </p>