Tips for Profiling ASP.NET web site?

Code profiling for .NET Developers

Moderators: Luke Jefferson, StephenC, Alex.Davies, AndrewH, melvyn.harbour, Laura Morley

Tips for Profiling ASP.NET web site?

Postby bmains » Wed Jan 12, 2011 5:19 pm

Hello,

Any tips for profiling the performance of ASP.NET web site? I'm profiling my app, but a lot of the items listed with time are the .NET framework. Any tips to weed through this to find my code's non-performing items?

Thanks.
bmains
 
Posts: 10
Joined: Mon Dec 13, 2010 4:52 pm

Postby Brian Donahue » Thu Jan 13, 2011 6:44 pm

Hello,

You may want to look at the documentation on the website. We are aware, specifically that lots of things that happen with ASP .NET are in the Framework Class Libraries and are beyond your control, plus you also have lots of blocking when users are requesting pages over the network and there is no code you can tighten up to make this any faster.

You would probably want to use the CPU time as your primary metric as opposed to wall-clock time.

Also, do you know that you have a performance problem? Because if you have a clue what to do to make the problem manifest itself before you start profiling, you won't spend as much time chasing shadows on pages that don't have any noticeable problem.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am

Postby bmains » Fri Jan 14, 2011 3:08 pm

Hey,

In our app, I'm aware of what might not be performing the greatest, though its hard to identify it from the results identified. I'm trying to figure out what in my code might be the worst performer, and it appears that most of it may not actually be that bad.

But I'm looking for general tips in this request, as I don't see a lot of material on ASP.NET directly, most walkthrough examples were console/windows/WPF apps.

Thanks.
bmains
 
Posts: 10
Joined: Mon Dec 13, 2010 4:52 pm

Postby Brian Donahue » Tue Jan 18, 2011 11:14 am

I'm sorry, but we do not have specific examples about examining ASP .NET results. The basic idea is that the type of technology used should not matter as we are gathering results from the running IL.

Of course, I realize this is not the best answer. For instance, ASP .NET sessions, system performance, network latency, and the like cause additional metrics that need to be looked at.

I'd suggest that if you see anything that looks suspicious to maybe post a topic on an ASP .NET-related forum as they are the experts on the internal workings of ASP .NET and are far better equipped to answer performance concerns than we probably are.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Performance Profiler 6

Who is online

Users browsing this forum: No registered users and 0 guests