Performance

W

Walter Wang [MSFT]

Hi Dave,

I'm not aware of such documentation exists to describe when the default
trace messages are output for which event. However, if you take a look at
System.Web.UI.Page.ProcessRequestMain using Reflector
(http://www.aisto.com/roeder/dotnet/), you can see the details such as:

if (context.TraceIsEnabled)
{
this.Trace.Write("aspx.page", "Begin PreInit");
}
...
this.PerformPreInit();
...
if (context.TraceIsEnabled)
{
this.Trace.Write("aspx.page", "End PreInit");
}
...

If the page is hang, I think you will need to use windbg to break in the
asp.net worker process to see the call stack of the hanging thread:

#Troubleshooting ASP.NET using WinDbg and the SOS extension
http://support.microsoft.com/kb/892277


If you need to know which method is the slowest, you need to use Profiler:

#Eric Jarvi : Beta 2 Whidbey ASP.NET Profiler HOWTO
https://blogs.msdn.com/ejarvi/archive/2005/04/08/406578.aspx

Using the "instrumentation" method and you will see which method is slowest.

Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Walter Wang [MSFT]

Hi Dave,

What do you mean ASP.NET is slow? Do you mean using an empty WebForm in a
simple Website is also slow?

Yes the code profiling feature is only available in Visual Studio Team
System:

#Product Feature Comparisons
http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Walter Wang [MSFT]

Hi Dave,

Profiling should reveal which method is the slowest one. I'm looking
forward to your findings.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top