<p>It is slow to load anything other than a small project. It is slow to quit; it can sometimes take minutes. It can be slow to open new files. The record macro feature used to be useful. It is now so slow to start up it's almost always quicker to do it manually!</p>

<hr>

<blockquote>
  <p>More info would be helpful. How big are your solutions? What platform are you on. What 3rd party plugins are you running? What else is running on your pc? </p>
</blockquote>

<p>3.2GHz P4 Hyperthreaded, 2GB RAM. Running Outlook, Perforce, IE7, directory browsers. Usually have 1-3 instances of VS running. It's much slower than VC6, say. It seems to take a long time to load projects and close down. I'm interested in if people know reasons why this happens, because of the way VS is written. Is it using .net internally and GC slows it down?</p>

[{'answer_id': 43528, 'author': 'Niyaz', 'author_id': 184, 'author_profile': 'https://Stackoverflow.com/users/184', 'pm_score': 0, 'selected': False, 'text': '<p>This is a purely subjective thing I am afraid.</p>\n\n<ul>\n<li>May it is because of your low end system configuration.</li>\n<li>May be VS trying to get updates from the net?</li>\n<li>May be you are running too many application in the background.</li>\n<li>May be you are trying to open a huge solution.</li>\n</ul>\n'}, {'answer_id': 43532, 'author': 'Mark Harris', 'author_id': 4026, 'author_profile': 'https://Stackoverflow.com/users/4026', 'pm_score': 2, 'selected': False, 'text': '<p>it might be that you have a plugin that is misbehaving. Try the <a href="http://msdn.microsoft.com/en-us/library/xee0c8y7(VS.80).aspx" rel="nofollow noreferrer">safemode</a> switch to see if this improves performance </p>\n'}, {'answer_id': 43626, 'author': 'spoulson', 'author_id': 3347, 'author_profile': 'https://Stackoverflow.com/users/3347', 'pm_score': 1, 'selected': False, 'text': "<p>I tend to agree that VS is a heavyweight.  Back in the day I coded in DOS using Boxer text editor and makefiles.  Boxer didn't have the heavy intellisense and refactoring features, but it did better in the text editing department, had good syntax highlighting and startup/closing were instantaneous, even on a 486.   ...those were the days.</p>\n\n<p>I would say it would be really nice to customize VS to remove all the overhead you're never going to use anyway, but I don't see that happening.</p>\n"}, {'answer_id': 43671, 'author': 'Karim', 'author_id': 2494, 'author_profile': 'https://Stackoverflow.com/users/2494', 'pm_score': 2, 'selected': False, 'text': '<p>One of the biggest culprits for Visual Studio 2005 slowness is Intellisense.   This has been brought up on the MSDN forums again and again and again.  What I frequently experience is that Intellisense is working nearly non-stop to "re-index" symbols (or whatever you call it).  But developers at Microsoft have not been deaf to the complaints and some outgoing folks there have come up with some workarounds that have helped me and might help you:</p>\n\n<p>Check out this link to get a better understanding of Intellisense:</p>\n\n<blockquote>\n  <p><a href="http://blogs.msdn.com/yash/archive/2007/09/19/intellisense-issues-in-visual-c-2005.aspx" rel="nofollow noreferrer">Intellisense Info</a></p>\n</blockquote>\n\n<p>Then check out this link for some macros that I\'ve had a lot of success with:</p>\n\n<blockquote>\n  <p><a href="http://blogs.msdn.com/vcblog/archive/2007/11/19/controlling-intellisense-through-macros.aspx" rel="nofollow noreferrer">Intellisense Macros</a></p>\n</blockquote>\n\n<p>With those macros, you can turn  off intellisense (without renaming any DLLs), restart it, delete the ncb file (which you can do manually, but this is a convenience) and it can give you the status of Intellisense.</p>\n'}, {'answer_id': 43683, 'author': 'Nic Wise', 'author_id': 2947, 'author_profile': 'https://Stackoverflow.com/users/2947', 'pm_score': -1, 'selected': False, 'text': '<p>here\'s ya problem:</p>\n\n<blockquote>\n  <p>3.2GHz P4 Hyperthreaded, 2GB RAM</p>\n</blockquote>\n\n<p>Hypertheaded means "doesn\'t actually have two CPU\'s, but it fakes it". If you have a process with just one thread running, then you get bad performance. It was a good short-term measure, but compared to having two REAL CPU\'s, it\'s a slow hack.</p>\n\n<p>2GB of RAM would be an issue too, based on what you said you run. If you have a basic 5400RPM disk, then it\'s going to make it all worse.</p>\n\n<p>I\'d recommend, based on what you posted:</p>\n\n<ul>\n<li>A good core2 machine, maybe a quad if you have the budget.</li>\n<li>3GB of ram if you are running a 32bit OS, 4+GB if you are running x64. 4GB means you waste 1GB under 32bit.</li>\n<li>Get 7200RPM disks, or better. If you can, RAID0 them (stripe) or RAID0+1 (stripe+mirror) if you can get 4 drives (stripe == split content over the two disks, so you can read from both at the same time. stripe+mirror == the safe version of striping, so your code is on TWO disks at all times) </li>\n</ul>\n\n<p>I have a 2.0ghz Core2 (so roughly 3-4x the performance of your P4, if you count 2 CPU\'s(cores) to be 2x) with 2GB, and the most I can run well is 2 instances of VS.NET 2008. This is normal - nothing wrong with VS.NET, it\'s just a huge app.</p>\n\n<p>More RAM. More CPU. More Screen. More. More. More :)</p>\n'}, {'answer_id': 43689, 'author': 'Jon Limjap', 'author_id': 372, 'author_profile': 'https://Stackoverflow.com/users/372', 'pm_score': 0, 'selected': False, 'text': "<p>Recently I've had both Visual Studio 2008 and Visual Studio 2005 on my machine, and I agree that VS2005 is really heavy. They improved upon it in VS2008, although I'm not sure if you'll consider the performance improvements enough.</p>\n"}, {'answer_id': 43855, 'author': 'Nick', 'author_id': 3233, 'author_profile': 'https://Stackoverflow.com/users/3233', 'pm_score': 1, 'selected': False, 'text': "<blockquote>\n<p>here's ya problem:</p>\n<blockquote>\n<p>3.2GHz P4 Hyperthreaded, 2GB RAM</p>\n</blockquote>\n<p>Hypertheaded means &quot;doesn't actually have two CPU's, but it fakes it&quot;. If you have a process with just one thread running, then you get bad performance. It was a good short-term measure, but compared to having two REAL CPU's, it's a slow hack.</p>\n</blockquote>\n<p>I don't think that's the problem at all. The machine is plenty high spec enough to be professional C++ development machine for large projects. I can run Eclipse (which is Java, which is memory hungry and slower than native code) and this is still way faster than VS 2005.</p>\n<p>I doubled the amount of RAM from 1GB to 2GB. This helps a lot with linking large applications. We also use Incredibuild to accelerate compilation. But it's the VS app that is slow.</p>\n<p>And if you think I'm a grumpy anti-MS zealot, ask yourself why people aren't buying Vista! :)</p>\n"}, {'answer_id': 43862, 'author': 'Nick', 'author_id': 3233, 'author_profile': 'https://Stackoverflow.com/users/3233', 'pm_score': 2, 'selected': False, 'text': '<blockquote>\n  <p>One of the biggest culprits for Visual Studio 2005 slowness is Intellisense. This has been brought up on the MSDN forums again and again and again. What I frequently experience is that Intellisense is working nearly non-stop to "re-index" symbols [...]</p>\n</blockquote>\n\n<p>I agree. I use Visual Assist. It is much better. There is no real way to turn "Intellisense" off either. The only way I have found is to rename the DLL so when you restart VS it is not found. This works and makes VS faster.</p>\n'}, {'answer_id': 43873, 'author': 'OwenP', 'author_id': 2547, 'author_profile': 'https://Stackoverflow.com/users/2547', 'pm_score': 0, 'selected': False, 'text': '<p>Could you maybe time some operations and post them so we get an idea what you mean by "slow"?  On my machine, I wouldn\'t call VS 2005 slow, but if you compare it to notepad or my web browser it seems slow.  Here\'s some things that might help people figure out what\'s going on:</p>\n\n<ul>\n<li>Turn off any features that could affect load time.  This includes uninstalling all add-ons and making sure that VS isn\'t configured to automatically open a project.</li>\n<li>Reboot your machine.</li>\n<li>Time how long it starts VS 2005 to start, from the time you click the icon until the program starts.</li>\n<li>Create a program that you\'re willing to post here that seems to compile slowly (this might not be possible depending on what it takes to make a slow compile); post the program and how long it takes your computer to build it.</li>\n<li>Do you know anyone else with the same kind of machine that has VS 2005 installed?  Does it seem slower or faster than yours?</li>\n</ul>\n\n<p>I believe Lord Kelvin said the best thing that can be said about situations like this:</p>\n\n<blockquote>\n  <p>When you can measure what you are speaking about, and express it in numbers, you know something about it; but when you cannot measure it, when you cannot express it in numbers, your knowledge of it is of a meager and unsatisfactory kind; it may be the beginning of knowledge, but you have scarcely, in your thoughts, advanced it to the stage of science.</p>\n</blockquote>\n\n<p>Until you give us some measurements to look at, we can\'t tell you if your machine is genuinely slow or if you are expecting more out of your machine than it can give.  Your HT CPU might be the problem; I have roughly equivalent machines at work and at home, but my dual-core work machine runs circles around my single-core home machine when it comes to running VS.</p>\n'}, {'answer_id': 260385, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<p>I\'m  am seeing mixed results with faster machines. Sure, faster machine, hides the poor performance quality of vs2005 but not all.</p>\n\n<p>Simply taking your obligatory "hello world" C/C++ program, just compile it, (CL /c helloword.cpp),  </p>\n\n<pre><code>#include &lt;stdio.h&gt;\n#include &lt;windows.h&gt;\n\nint main(char argc, char *argv[])\n{\n   printf("Hello World\\n");\n   return 0;\n}\n</code></pre>\n\n<p>I see 1 seconds compiler under Vc6 and a 6 seconds compile under VS2005.</p>\n\n<p>Using DEPENDS to profile the two, I see 3 areas where the 5 seconds delays and time different are taking place:</p>\n\n<pre><code>  ~2.5 secs with ADVAPI32.DLL, CryptGetHashParam()\n  ~1.5 secs with OLE2.DLL, StringFromGUID2()\n  ~1.0 secs with C2.DLL, _AbortCompilerPass()  \n</code></pre>\n\n<p>Again, this is just a compile, not a link.  The VC8+ compiler executables/dlls are referencing sub-systems like crypto API, the Registry for some transparent reason and it is adding a tremendous amount of overhead to straight and pure compiles.</p>\n\n<p>While a faster machine may hide some of hide slow down, one could only wonder if Microsoft can optimize the compiler by offering options that disables unnecessary overhead references.  I understand the better compiler comes with some overhead, but what I see is a 300-500% compile time degradation - thats awful.</p>\n\n<p>Hector Santos, CTO\nSantronics Software</p>\n'}, {'answer_id': 1536701, 'author': 'Andrew Bainbridge', 'author_id': 66088, 'author_profile': 'https://Stackoverflow.com/users/66088', 'pm_score': 0, 'selected': False, 'text': '<p>VS 2005 is slower than VS 6 because it is less well optimized for speed. The developers of VS 6 had slower machines than the developers of VS 2005. They made it fast "enough" back then. On a modern machine VS is now "pleasantly fast", where VS 2005 is only just fast enough.</p>\n\n<p>What annoys me is that they decided to scrap VS 6 and start again for VS 2005, when VS 6 was an awesome piece of software that just needed updating.</p>\n'}, {'answer_id': 2895184, 'author': 'Steve Sheldon', 'author_id': 314014, 'author_profile': 'https://Stackoverflow.com/users/314014', 'pm_score': 0, 'selected': False, 'text': '<p>I noticed above you mentioned you are using perforcet too. Do projects load faster when not in perforce, I am willing to bet that some of the delay you are seeing is related to perforce during load. The latest version of perforce seems a lot slower too.</p>\n'}, {'answer_id': 20881516, 'author': 'Dhananjay Prajapati', 'author_id': 3153381, 'author_profile': 'https://Stackoverflow.com/users/3153381', 'pm_score': 0, 'selected': False, 'text': '<p>Change your Solution Platform on "Any CPU" option which is given on the top of Visual Studio then your program build speed will be definitely increased.</p>\n'}]
['https://Stackoverflow.com/questions/43524', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3233/']