ASP.NET load time
I have an ASP.NET project, v3.5 in VB.NET that I am working on. On my home computers, it loads almost instantly when you click something, but on my work computer (which is a much faster computer) all pages take about one second to load no matter what content is generated (like on a timer or what something else) Why is this and how can I figure out why boot times are delaying on my work computer?
- Both ASP.NET v3.5 w / VB.NET and SQL Server 2008
- The same exact project (copied from comp to another) with the same exact database
- Debugging is enabled for both
- Home computer - Windows XP Pro, 3GHz Intel, 1.5 Gig RAM.
- Work computer - Windows Vista Home, Core2 Duo 2.40 Ghz, 3 Gigs RAM
- Both run on an ASP.NET development server
- Fine tuning other than the computer itself
Thanks for your input.
SOLVED - The issue is related to an IPv6 issue with FireFox. I turned it off and everything is fine. Thanks everyone for your input, it is definitely a good idea to track down more serious performance issues that come in handy later, just not for this issue. Thanks!
a source to share
Is SQL Server local in both cases?
One thing you could do is run a trace to see where the delays (if any) are in the ASP.NET process itself ...
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<compilation debug="false" />
<authentication mode="Windows" />
<trace enabled ="true" pageOutput ="false" requestLimit ="20" traceMode ="SortByTime " />
</system.web>
</configuration>
a source to share
There are several things you can do to investigate performance issues / differences:
- You mentioned "the same exact database". If it is the local database at home and you are hitting your home database from your work computer, this may explain the delay.
- Use Fiddler to measure web traffic. This can help determine if this is a server or client issue.
- Use Firebug with Firefox . Look at the NET and / or javascript profiling tab in the Console tab to determine if this is a javascript issue or a server issue.
- Enable ASP.NET tracing in your web.config to check the timings in your server side code.
a source to share