I have a windows forms application. When a user selects an item to view the details of, it takes upwards of 4 seconds to load the detail screen (average is 2.5). This seems like it's way too long...and yet it's not THAT long.
The problem I have with this is that it is hard to track down because it's longer than it should be but not too long. In other words, if it was taking 30 seconds, I could easily step through and find the steps that were taking up that time. But with 4 seconds, you run into things like the debugger is slowing it down, so you don't know for sure if you have found the slow step.
How can I track down the slow steps in a moderately "fast" process?