开发者

How to profile ASP.NET/IIS Pipeline

开发者 https://www.devze.com 2023-03-16 08:33 出处:网络
I have an autocomplete service that executes in under 1ms - perfect! This is a timing of the method. When I built this service outside of the project, the service call would take a total of 5ms. The

I have an autocomplete service that executes in under 1ms - perfect! This is a timing of the method.

When I built this service outside of the project, the service call would take a total of 5ms. The service is a ASMX, and returns a JSON result.

But once I integrated this service into the real project it now takes 200ms, although the method call is actually still executing in 1ms. So it must be serialization, ASP.NET pipeline or IIS.

The project is so big it's hard to know exactly what HttpModules/Handlers are running.

So my question is, is there a simple profiler a can place on a HTTP request in IIS that will tell me how long each stage takes?

BTW this all on my local box, before anyone says network speed!

Many开发者_JAVA百科 Thanks, Ash.


You can use Failed Request Tracing, but for status code 200:

How to profile ASP.NET/IIS Pipeline

0

精彩评论

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

关注公众号