How to isolate performance issue?

Posted on 2009-07-15
Medium Priority
Last Modified: 2012-05-07
I have an asp.net 3.5 web application running on Windows Server 2003.  There is one section that makes use of DHTML (for tabs and other dynamic features) plus .NET Charting.  On two Windows Server 2003 boxes, this particular section is very slow.  However, locally for devs, and on other 2003 boxes, it works fine.  

On one day, someone will see a specific performance issue in that section.  On the next day, another person won't.  However, there are consistent performance issues across all people.  Everyone is accessing through intranet.  These Server 2003 boxes are Terminal Servers.  There must be a configuration issue causing this, rather than anything actually in the code base right?

What is a good place to start in narrowing down potential issues and figuring out the problem?
Question by:brettr
  • 2
  • 2
LVL 11

Expert Comment

ID: 24863350
Because so far I've heard dhtml and charting I would start with an http proxy like fiddler to see which browser request is the culprit (asp.net file vs a resource file the html is requesting like the chart)


Identify that and write back.

Author Comment

ID: 24864828
Using Fiddler, on one particular tab that takes the longest to load, I see only an aspx page in Fiddler for the request.  Whereas, all the other tabs also load PNGs and sometimes JS.  From this, I'd think this one tab should be the fastest, yet it is the slowest.

What else should I look at?
LVL 11

Accepted Solution

b_levitt earned 2000 total points
ID: 24865829
I mostly wanted to make sure the chart component wasn't the bottle neck.

What does this aspx page do for this tab?  Does it access the database?  Does it have any for/while loops?  Is it sending a large amount of data?

If it's an option to cut external traffic to one of these servers than you could remote debug and step each line of code, looking for long delays.  if that's not an option you could add trace lines (Trace.Write i think) and enable tracing on the page to try to isolate where the slow part is.

Author Comment

ID: 24886724
Thanks for the suggestions.  They point me in the right direction.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question