slow methods

Dear Developers,

In my latest profile i have following slow methods:
1) ISAPIRuntime.ProcessRequest(IntPtr ecb, int iWRType)
2) AppManagerAppDomainFactory.Create(string appId, string appPath)

How can i improve those two methods?


  • Brian DonahueBrian Donahue Posts: 6,590 New member

    From the web applications I've profiled, I've seen quite a lot of ProcessRequest(...) in the results summary for the top 10 slowest methods. I'm pretty sure that this method covers the processing time for the whole dynamic page, from the request entering ASP .NET to the page request being fulfilled at the client, including the send time. You'll definitely want to drill into Profiler's hierarchy to find the slowest child methods of this method to narrow down the problem a bit more.

    I'd assume that a slow AppDomain creation happens at the first request for the Web Application being profiled. I would guess that the hit count for this method would only be one. I don't think you can do anything to help that method along and it can probably be ignored as something internal to ASP .NET.

    I don't know of any comprehensive documentation covering the internals of ASP .NET that could help demistify the process, unfortunately.
Sign In or Register to comment.