- run the job being profiled
- break it randomly and go to the debugger to see what is going on (Ctrl+Break then Shift+No)
- if you break often in some place, it can be hotspot
PS. Maybe, I simply do not know how to deal with profiler well, but it is hard to me to estimate real timing from profiler output. Maybe anybody can provide some tips for this?
At last I have seen that someone else has discovered what I have - that all you really need to find single-thread performance problems is a debugger with a "pause" key. See:
ReplyDeletehttp://en.wikipedia.org/wiki/Talk:Performance_analysis#Monte_Carlo_Profiler.3F
http://en.wikipedia.org/wiki/Performance_analysis#Simple_manual_technique
Thank you for these links
ReplyDelete