开发者

windbg find which method is taking time

开发者 https://www.devze.com 2023-02-07 09:55 出处:网络
I have a page which is taking time to load. It is possible to find which method is taking t开发者_StackOverflowime using windbg?

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

精彩评论

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