tuseau
tuseau

Reputation: 1403

ASP.NET Performance issue in System.Web.Hosting namespace

I'm using RedGate ANTS to troubleshoot performance problems in an ASP.NET 3.5 WebForms app. When clicking in very small pages sometimes, it takes up to 15 seconds to load. These are pages without any data - just a handful of controls.

ANTS Profiler is telling me that the hotspot methods (Time with children > 5 seconds) are all within System.Web.Hosting, for example:

But the "own time" of these is under 0.001 second each. There's nothing else that's a hotspot. So what can be "beneath" these methods that could be causing this issue?

Upvotes: 1

Views: 186

Answers (1)

Wonko
Wonko

Reputation: 331

You may want to switch from CPU time to wall-clock time, if you want to check for methods that take a long time IRL. There is probably an asynchronous wait (WaitForSingleObject) that is not taken into account when you are using CPU time.

Upvotes: 1

Related Questions