473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Why does it take so long?

I apparently posted this in a wrong group ... one intended for pre-.Net
development using VB. Anyway...

I have a solution containing a project of Web pages, a project that contains
all my business objects, five Web Service projects and three Windows Services
projects. I'm only working with a relatively small portion of the code ...
primarily the business objects, Web pages and one of the Web Services ... but
I need to make sure that any additions/changes don't negatively affect the
balance of the solution. My problem is it takes upwards of seven minutes
(yep, seven minutes) to load the solution when I start my day; it also seems
like it takes forever for the program to actually render the first Web page
with or without debugging and the same holds true from when I want to stop
debugging.

Why is it taking so freakin', bloody long to load or run/stop running? What
can I do to resolve this issue?

Thanks!

Dec 19 '07 #1
1 2889
I am not sure. Here are some general guidelines:

1. Get a faster hard drive. The 5400 RPM drives are a bottleneck for
development and loading. This is often overlooked.
2. More memory - of course, if you are already maxed out, this is not
something you can do. Be smart about it by examining your memory.
3. Faster memory - The architecture has to support it, of course, but many
manufacturers start you with cheaper, slower speed, memory. Go as fast as
the FSB can handle.
4. TSRs - some virus protection programs examine everything you load. If you
can make an exception of your code files, this may speed up initial load.
5. Visual Studio plug ins - Some plug-ins, like Resharper, examine the
project every time you load, causing a slow down
6. Deletion of temp files, including temp internet files - this is a good
thing to do every once in awhile, as Windows itself can bog down if you do
not, and this bogging can show in a variety of ways
7. Defrag the drive - This is esp. helpful in large solutions

As for projects, I will generally use nUnit or mbUnit for my unit testing. I
add on a mock framework and test everything in isolation.

For solution wide testing, I find it better to set up a solution at each
project level, as well as one "big bang" solution. I general will use the
isolated solutions, so I am working with compiled code at the lower levels.
This is not always possible, but working with compiled code will speed up
the load of my UI tremendously.

In addition, I have found that some bad coding practices (esp. too much code
in the ASP.NET app) will bog down VS 2005 tremendously. I have since
refactored some troubled projects and they load much faster.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"AlBruAn" <al*****@hotmail.com.(donotspam)wrote in message
news:72**********************************@microsof t.com...
>I apparently posted this in a wrong group ... one intended for pre-.Net
development using VB. Anyway...

I have a solution containing a project of Web pages, a project that
contains
all my business objects, five Web Service projects and three Windows
Services
projects. I'm only working with a relatively small portion of the code
...
primarily the business objects, Web pages and one of the Web Services ...
but
I need to make sure that any additions/changes don't negatively affect the
balance of the solution. My problem is it takes upwards of seven minutes
(yep, seven minutes) to load the solution when I start my day; it also
seems
like it takes forever for the program to actually render the first Web
page
with or without debugging and the same holds true from when I want to stop
debugging.

Why is it taking so freakin', bloody long to load or run/stop running?
What
can I do to resolve this issue?

Thanks!

Dec 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Brian Henry | last post by:
I purchased a copy of VS.NET 2003 professional and installed it on a computer to test it and forgot about activation, i want to move it to the real computer, but of course its activated on the...
8
by: Trishia Rose | last post by:
this is something ive always wondered, does it take cpu time at run time to typecast or just at compile time? for example consider the two little bits of code: int a = 5; int b = a; and: ...
35
by: Sunil | last post by:
Hi all, I am using gcc compiler in linux.I compiled a small program int main() { printf("char : %d\n",sizeof(char)); printf("unsigned char : ...
58
by: Larry David | last post by:
Ok, first of all, let's get the obvious stuff out of the way. I'm an idiot. So please indulge me for a moment. Consider it an act of "community service".... What does "64bit" mean to your friendly...
3
by: Franz | last post by:
Hi, If my ProjectTable contains a lot of rows, each time I call the following code, will all the rows be fetched? Or only those 5 records for that page are fetched only? /* -- code start --...
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
89
by: Cuthbert | last post by:
After compiling the source code with gcc v.4.1.1, I got a warning message: "/tmp/ccixzSIL.o: In function 'main';ex.c: (.text+0x9a): warning: the 'gets' function is dangerous and should not be...
2
by: Jim Carr | last post by:
Upon entering the site www.FutureByDesign-Music.com with IE6, my clipboard is erased and then disabled in all other Windows XP applications. Navigating to another site returns clipboard...
130
by: Daniel Manes | last post by:
I'm baffled. I have a column in a SQL Server Express database called "Longitude," which is a float. When I view the table in a DataGridView, some of the numbers, which only have two decimal places...
92
by: Heinrich Pumpernickel | last post by:
what does this warning mean ? #include <stdio.h> int main() { long l = 100; printf("l is %li\n", l * 10L);
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.