How to profile ASP.NET/IIS Pipeline

I have an autocomplete service that runs less than 1 ms - great! This is the time for the method.

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

But as soon as I included this service in this project, now it takes 200 ms, although the method call is actually still performed in 1 ms. Therefore, it should be serialization, an ASP.NET pipeline, or IIS.

The project is so large that it knows for sure that the HttpModules / Handlers work.

So my question is: is there a simple profiler that can put on an HTTP request in IIS that will tell me how long each step takes?

By the way, this is all in my local box, before anyone says network speed!

Thanks a lot, Ash.

+4
source share
1 answer

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

enter image description here

+2
source

All Articles