开发者

windbg find which method is taking time

I have a page which is taking time to load. It is possible to find which method is taking t开发者_StackOverflowime using windbg?

Thanks


You dont need a debugger. You need a profiler.


wt (Trace and Watch Data) will give you an instruction count over a function or instruction range. This won't give you time information, though, so if you're blocking on IO it won't be revealed here.

!runaway will let you know time used per thread, so that may narrow it down if this is systematic.

Finally, AMD CodeAnalyst is a free profiler that works great and will help you figure out exactly where in the system your time is being spent. Make sure to set the polling frequency to .1ms.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜