Web Site Optimization and Verification

S

shapper

Hello,

I am having some speed problems with an Asp.Net 2.0 web site and I
would like to know if there is some tool which accesses a web site and
displays each step of when the web site is loading.
I need to figure out what is taking a long time to load or a error
hapening.

Thanks,
Miguel
 
B

Brennan Stehling

Miguel,

What have you tried to do to measure your application performance so
far?

Getting an outside measure of how fast a page loads will not tell you a
great deal. The detail you need is how long certain actions take to
run within each page and the size of the page is once it is loaded.

If you are showing a very large set of data in a GridView it is likely
your ViewState is also very large, which makes the page size very
large. That will cause the page to take a while to load and more time
to render the page.

What you can do is write the current time to the log with the current
time along with keywords to tell you where the code is at that point.
You should be able to pinpoint the spots where performance is being
affected.

Once you have found the source of your issues, you can try using
features like the OutputCache.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconOutputCache.asp

You can also use System.Web.Caching directly.

http://msdn2.microsoft.com/en-us/library/ms178604.aspx

The most common slow down for a page is database access and I/O.
Fortunately the caching and dependency features of ASP.NET 2.0 give you
great tools to speed things up.

Brennan Stehling
http://brennan.offwhite.net/blog/
 
B

Brennan Stehling

Miguel,

For starters, that is a very attractive website. It also loads pretty
fast for me.

I would still measure the time to pull data from the database. Perhaps
you can log the timings when they are over a certain threshold so it
does not log too much data. My slowdowns are almost always related to
data retrieval.

Brennan Stehling
http://brennan.offwhite.net/blog/
 

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

Similar Threads


Top