Welcome to MSDN Blogs Sign in | Join | Help

Performance of VS Beta 2

I'm starting to get very mixed messages about people's satisfaction with performance in Beta 2.  Clearly performance in Beta 1 was bad.  We knew that.  We did a lot of work in Beta 2 to make it better and I've heard a lot of people comment on how much better Beta 2 is.  At the same time, I'm hearing some people say they are very unhappy about Beta 2 performance.  We really need to understand the source of that unhappiness if we are to have any hope of doing anything about it.

We're working on a Beta 2 survey that will go out within the next week and are adding some questions about satisfaction with performance.  It will take a week or two to get statistically meaningful data.  In the mean time, I'm absolutely interested in pursuing anecdotal stories.  If you have good or bad experiences with Beta 2 performance, let me know about them.  Tell me what features you were using, what about the performance was good/bad, what kind of system you are running it on, etc.  Also, if you don't mind, please give me your contact information so we can follow up with you with additional questions and possibly solutions to try.  You can send me email from the email link on my blog page if you are uncomfortable posting contact info publicly.  We've set up an internal alias that I can forward all issues to and have someone investigate them.

It's very important to us that we get this right and that our customers be very happy with the release.  I'm eager to hear your feedback.

Thank you very much!

Brian

Published Tuesday, October 27, 2009 10:16 AM by bharry

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Performance of VS Beta 2

In http://blogs.msdn.com/jaimer/archive/2009/10/23/what-is-new-in-wpf-and-cider-on-the-net-framework-4-and-vs2010-beta-2-release.aspx, Jaime Rodriguez mentions a registry switch that improves the performance of Dev10.

-Mike

Tuesday, October 27, 2009 12:16 PM by Mike

# re: Performance of VS Beta 2

After ending a debug session of a simple C# Console app, VSTS locked for 10 seconds+, unfortunately nothing I could reproduce though.

/Gert

Tuesday, October 27, 2009 3:17 PM by Gert

# re: Performance of VS Beta 2

I'am working on a WPF Prototyp with VSTS Ultimate 2010 with .Net 4.0 an Vista Sp1 64 Bit. WPF Designer is slow. Also the performance on intellisense is not the best.

When i run VSTS2010 a long time the performance of my machine goes down.

A question the Shift+Alt+F10 on classnames doesn't work anymore? In vs 2008 with this shortkey a can resolve usings.

Wednesday, October 28, 2009 1:18 AM by stoffi

# re: Performance of VS Beta 2

Thanks for the feedback so far.  Keep it coming.

Brian

Wednesday, October 28, 2009 5:27 AM by bharry

# re: Performance of VS Beta 2

stoffi, ctrl-. does the same thing as Shift+Alt+F10, does that help?

Tim

Wednesday, October 28, 2009 8:23 AM by Timothy Bussmann

# re: Performance of VS Beta 2

In native C++:

1) Startup takes a very long time

2) When changing properties it redraws slowly (and in a very odd way.)

3) C++ builds are 3x-5x slower than VS 2003/2005.

4) The Intellisense/squigglys red line indicating errors is sometimes extremely slow in clearing an error.

5) It takes a while for debug sessions to start--actually debugging seems faster than in VS 2008.

6) Creating the intellisense database needs to be seriously optimized.

And while not entirely related, some native C++ executables in 2010 are 20% slower than 2003/2005.

Wednesday, October 28, 2009 8:44 AM by Joe

# re: Performance of VS Beta 2

Not related specifically to beta 2, more 2008, but I'm now working with a bunch of former Java developers and I'm constantly hearing them whine about VS performance. There really needs to be a better approach taken to the whole build process.

This is a big impact on developer productivity. VS seems to be getting slower with each successive release and it's at the tipping point for me right now. This needs to be considered a major feature in and of itself.

Wednesday, October 28, 2009 12:42 PM by Jim L

# re: Performance of VS Beta 2

I kept dealing with "Not Responding" instead of micro-second for each pointer step -- ended up 1 second to 60 seconds during "Not Reponding".

Reloaded-recovery My Vista and only installed Beta 2 and the required programs.

SAME THING.  It also does the same thing with WIN7RC machine.

Still have VS2008 on my portable (using that mostly)

Work perfect.

Remembered that I had no problems with any of the VS2008 team and other programs when the machine was XP .... only after I put in VISTA to put in WIN7RC. Still failing on my other machine with WIN7RC.

----- just restarted VS2010 --- failed ---- I think I will check out programs for my imac ......

Hughy

hughy@live.com

Wednesday, October 28, 2009 1:44 PM by Hughy Frazer

# re: Performance of VS Beta 2

What are you doing when you get 1 minute pauses?  You seem to be having problems with VS Beta 2 on both Win7 and Vista, is that correct?

Brian

Wednesday, October 28, 2009 1:59 PM by bharry

# re: Performance of VS Beta 2

I personally think it's great and have switched to it as my main environment (still targeting .NET 3.5 however.) Performance is pretty good on my Gateway P-7811 FX with Windows 7.

Two issues I run into are 1) Windows Forms designer seems to bomb pretty reliably when components in the current project are on a form. 2) WPF designer occasionally locks up when CTL+TABbing between code and designer.

Wednesday, October 28, 2009 3:18 PM by Josh Einstein

# re: Performance of VS Beta 2

Well I installed Beta 2 last week and have been using it to code some very basic forms in .NET 3.5, although I have come to conclusion leaving VS2010 open a long time must create some sort of memory leak and slowly performance gets ugly FAST.  I am running Windows 7 Ultimate with 8GB of memory with 400GB of free space.  I have not had the problems listed above, but have noticed an improvement when starting VS2010 up, although I don't know if that is because I upgraded to Windows 7.  I have not had VS2010 bomb, although I have not put it through a lot of stress as I did with the first Beta.  I will add more when I encounter more bugs.

Wednesday, October 28, 2009 4:41 PM by Chris

# re: Performance of VS Beta 2

Wonderful product so far, I've been pleasantly surprised by the breadth of improvements and new features of VS2010. I'm working on a project for Microsoft Consulting Services Public Sector that involves the Social Security Administration, Health Vault, HL7, and NHIN. Because this is a proof of concept, we're able to use VS2010. Here are some of my observations:

* When Microsoft Symbol Server is enabled, starting a debug session takes 5-10x longer than usual, during which time it appears to be loading symbols. Slowly.

* A solution with about 10 projects; it there are build dependency issues. I often have to run a macro to delete bin and obj folders, then rebuild projects in correct order by hand.

* Contracts + PEX doesn't work like it does on VS2008

* After installing and starting to use TFS2010 on the local machine, there are occasional (every hour?) when VS2010 hangs for 2-5 minutes during which a taskbar bubble says VS is busy with "internal operations"

Working with this for 50-60 hours a week, there's more... but this is a good start. Looking forward to feedback. Tks!

Wednesday, October 28, 2009 7:21 PM by E F Vincent

# re: Performance of VS Beta 2

The performance is absolutely amazing when compared with VS 2008.

I'm running a Dell XPS 64 bit with 4GB RAM.

After converting the solution to 2010 I timed the opening of the two projects and 2010 was super fast. I think it is due to the project files not being restored which I like very much.

Getting to the different dialog boxes is much snappier than before. The Properties tab, the Options dialog event clicking on Keyboards doesn't take a long time like before.

The code editor itself is really fast.

I'm already using 2010 for some my projects.

Wednesday, October 28, 2009 7:44 PM by Merill Fernando

# re: Performance of VS Beta 2

tim, thanks for the tip. it works. I hope i remember this new shortkey :-)

Thursday, October 29, 2009 12:50 AM by stoffi

# re: Performance of VS Beta 2

The changeset comment policy on tfs doesn't exists anymore?

Thursday, October 29, 2009 1:13 AM by stoffi

# re: Performance of VS Beta 2

The changeset comment policy is still in the Power Tools and not the shipping product.  We'll be releasing the first run at 2010 compatible Power Tools in the next few weeks.  Many of the Power Tools won't be working yet but the checkin policies will be.

Brian

Thursday, October 29, 2009 4:20 AM by bharry

# re: Performance of VS Beta 2

E.F Vincent,

Thanks a ton for the feedback.  I've passed in on to the right people.  On the periodic hangs.  I wonder if there's any way I could get you to attach a debugger to VS while it is hanging and get a memory dump so we can see what it is doing?

Thanks,

Brian

Thursday, October 29, 2009 4:30 AM by bharry

# re: Performance of VS Beta 2

I got really nervous when trying beta 1, because of its poor performance. I was absolutely amazed to see how much faster beta 2 actually is. Playing around I noticed some nice features like the improved startup time of the add reference dialog. However, it does not "feel" that fast as VS 2008, maybe that's the problem.

Thursday, October 29, 2009 6:53 AM by MG

# re: Performance of VS Beta 2

Debugging unit tests functionality does not work well. Most of the time I have to run the test without debugging before I'm able to debug it.

Thursday, October 29, 2009 2:14 PM by Dmitry

# re: Performance of VS Beta 2

@Joe

Regarding the following issues:

1) Startup takes a very long time

2) When changing properties it redraws slowly (and in a very odd way.)

3) C++ builds are 3x-5x slower than VS 2003/2005.

4) The Intellisense/squigglys red line indicating errors is sometimes extremely slow in clearing an error.

5) It takes a while for debug sessions to start--actually debugging seems faster than in VS 2008.

6) Creating the intellisense database needs to be seriously optimized.

Thanks for sharing feedback with us. We would like to understand your scenario better and debug the performance issues that you are experiencing. We are working on improving the certain performance aspects of VS2010 but we haven’t seen the issues that you expressed in your comments. It would immensely help us if you could share the solution that you are experiencing this delay on and we can try to reproduce this issue in-house.

You can directly get in touch with me at "amitmo at microsoft dot com" or open a bug through connect with the solution here: https://connect.microsoft.com/VisualStudio/content/content.aspx?ContentID=14631.

A few questions and data points could also help us move forward:

1) Were you running these scenarios over a terminal server session?

2) What is the size of your solution? (#of projects, #of files etc.)

3) What is the configuration of the machine that you were hosting this scenario? (operating system, memory configuration, #of cpu’s, video card etc.)

4) What properties were you trying to modify? Were you trying to modify properties by selecting multiple projects/files?

5) Is your system running in low memory conditions while you are working with Visual Studio?

6) What type of projects do you have in the solution (like ATL projects, projects using STL etc.)?

Thanks,

Amit Mohindra

Windows C++ Team

Thursday, October 29, 2009 3:44 PM by Amit Mohindra [MSFT]

# re: Performance of VS Beta 2

I am from Cider team that owns WPF/Silverlight designer.

To Josh Einstein, regarding your comment that "WPF designer occasionally locks up when CTL+TABbing between code and designer".

To understand your scenario better, can you answer the following questions?

(1) Just to be absolutely sure, when you say "code", it refers to "code editor" for code behind files. Right?

(2) This issue occurs when you are switching to Designer, or to code editor, or both?

(3) Do you need to do a build before the switch to experience the issue? If not, Can you keep CTL+TABbing to see the issue consecutively?

Please feel free to contact me directly for Cider related issues. My email is: ZhanboS AT Microsoft DOT con. If you prefer, you can also post your answer here.

Thanks in advance!

Friday, October 30, 2009 2:56 AM by Zhanbo Sun [MSFT]

# re: Performance of VS Beta 2

I'm using an Asus V1s laptop (Intel T7700) with 4G RAM running Windows Server 2008 and Hyper-V.  I'm running VS2010 beta 2 in a Windows 7 pro VM.  I've given the VM 3G of RAM and access to both cores.

I'd say in this configuration that VS2010 beta 2 is sluggish.  I haven't done any side-by-side comparisons but my recollection of the VS2005 RTM in a similar configuration was that it was much snappier.

Friday, October 30, 2009 6:39 AM by David Douglass

# re: Performance of VS Beta 2

I'm having a very frustrating time with VS2010. I accept that it's fast for most other folks out there, so there must be something specific to what I'm doing that's causing the problem.

I just rebuilt my dev machine on Tuesday (with Windows 7 Ultimate) so it's not a problem with stale DLLs. There's no other version of Visual Studio on the system (yet), beta 1 has never been on it, this is as fresh a beta 2 install as I could make it.

(It does have ReSharper on it, but the problems occurred before that was installed so I don't think that's the culprit.)

The problem is that it hangs, when opening the solution or when it finishes debugging the solution. Sometimes it hangs for a few minutes, other times it hangs indefinitely (I usually gave up around the 10 minute mark). Killing and restarting doesn't usually help. Killing and then deleting all /bin and /obj directories does help - the solution then opens just fine.

There are also other sporadic hangs (when starting the debugger, when opening a designer file), which can take up to a couple of minutes to complete. These rarely hang to the point where I have to kill the process though.

This isn't a particularly big solution - there are 13 projects and none of them has a large number of files. Two possible wrinkles are that there's an Entity Framework project and a Workflow4 project. Maybe one of these is the source of my problems?

As I said, the hangs are very frustrating, so if there's any way you know that I could track them down and fix them I'd be very grateful!

Cheers,

Geoff

Friday, October 30, 2009 9:44 AM by Geoff Taylor

# re: Performance of VS Beta 2

We'll definitely help you find out what is going on Geoff.  If you'd send me mail at bharry@microsoft.com, I'll get you hooked up with someone who can help investigate.

Thanks,

Brian

Friday, October 30, 2009 10:34 AM by bharry

# re: Performance of VS Beta 2

Great post Geoff, thank you.  This kind of feedback is just what we need at this stage.

Friday, October 30, 2009 10:59 AM by ricom

# re: Performance of VS Beta 2

Folks expecting that WPF would be just as "snappy" or even close to GDI today with 2008 will have to consider that all this new extensibility and managed stuff is a bunch of new code so it's not going to be equally snappy with current hardware.

I haven't had a good look yet at anything of importance so all I can say is the first/cold start perf of simply hovering over the menus at the top (File etc) is sluggish for a moment. And C# Add Class takes it's time to open even if it's already in memory. Unless getting stuff more "snappy" is a priority I wouldn't bother with these though there's more important stuff I bet I just haven't yet have time to find it.

Sunday, November 01, 2009 10:30 PM by zzz

# re: Performance of VS Beta 2

Forgot one obvious hard to fix thing, code scrolling performance is clearly slower, feel like it's dragged behind the vertical scroll bar movements vs moving with the scroll bar. Given that with Intel integrated graphics and C2D 2.4 I'd say it's just acceptable.

Sunday, November 01, 2009 10:43 PM by zzz

# re: Performance of VS Beta 2

Amit, I have filed some of these issues through connect and have communicated others through other bloggers and/or contacts.

In order to reproduce the issues I outlined:

A) Get a Core 2 Duo E6550 with 3 GB of memory with G31 graphics (i.e. a Dell Vostro)

B) Download an XP VHD from

http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&displaylang=en

and patch it. For the VMC, use a memory size of 1.3GB. (I think this is too large, but I figured VS 2010 would be a memory hog and checking the working memory set, it is. Still 1.3GB should be more than sufficient if it is the only application running--to be honest, your goal should be to get VS 2010 to have good performance on a Celeron 900 XP with 512MB of memory and lousy Intel graphics. 10 is the new 6.)

C) I had VS 2005 & 2008 already installed, but I doubt this makes a difference except for the hard crash caused by importing [some] existing settings

D) After installing, run VS2010. It takes a relatively long time to load.

D) Create an MFC application.

E) Debug it. You will get a delay when debugging starts. Relative to VC++ 6.0/VS2005/VS2008, it's slow.

F) Changing properties and hitting apply shows a redraw error (a lower level window/tab is erroneously being drawn before the higher level window. Yeah, I've seen this error before.)

G) Full builds are just plain slower. Regular builds are also slower.

As for the two other issues;

1) intellisense: I've seen several non-reproducible bugs with intellisense (in one case it "decided" a function should have started in the middle of a comment and started flagging random things as errors.) The one I'm referring to seems to have to do with picking up changes in included files. What was strange is that if I changed the header to be wrong the error would be flagged almost instantaneously, however when I fixed the header, there was a distinct delay in unflagging the [second] error. In one case, I had to "break" the header a second time to force the change to be recognized.

If I can get a predictable, reproduceable example, i will post it on connect. However, there are definitely bugs in with the intellisense code.

My comment about optimizing the intellisense database is self-obvious. Open a big project and watch it chug away.

I want to point out that it was Microsoft who kept saying "10 is the new 6". VC++ 6 had UI problems and the C++ implementation wasn't very standard, but it was lean and fast.

Wednesday, November 04, 2009 1:19 PM by Joe

# re: Performance of VS Beta 2

I've used only VS 2008, but colleagute said that with our app it is still the same slow as it was.

Our project is relatively small it has 88 projects, and +-4000 cs files, 600 apsx  + ascx files.

VisualStudio 2008 loads all project data only after 45 seconds (that is extremely slow), and Resharper finishes parsing code in under 4 minutes.  So just to start using VS our team have to wait 5 minutes.

For comparison, SharpDevelop loads the solution in under 3 seconds. And under 10 seconds it has completely finished loading everything, that is projects + parsing code.

Also, to clean and build all projects takes about 50 seconds on both VS and SharpDevelop. However, if only one project is changed, then VS recompiles in 30 seconds, while SharpDevelop does that in under 4 seconds.

Is it just for me such terrible performance ,  or is it "normal" visual studio behavior?  I hope it is not normal, since then i would not be able to grasp how in the world this could ever be named "the best IDE".

Tuesday, November 17, 2009 7:19 AM by Darius

# re: Performance of VS Beta 2

Every time I start to debug an application or end debugging no matter if it's a console, WPF or Winforms app, VS2010 just reports it's busy with some internal operations and hangs for like 5 to 10 minutes... makes it really hard to do anything with it really.

I've seen reports all over the web, yet the MS admins keep asking for dump files and say they cannot reproduce it. They must be running some pretty awsome machines.

I'm running Windows 7 , on a 4 and an 8 core machine... same problem on both.

Monday, November 23, 2009 8:50 PM by TimothyP

# re: Performance of VS Beta 2

Thanks for the feedback, I can get the right person to contact you.  They probably will want a dump file though.  I know they've fixed quite a few hangs since beta 2.  Maybe this one has been fixed and maybe it's a new one.

Brian

Tuesday, November 24, 2009 4:28 AM by bharry

# re: Performance of VS Beta 2

I have the same problem: after debugging any type of app, the entire IDE hangs, and clicking on it brings no response at all, it doesn't even focus the window. I've never had the patience of waiting 5-10 minutes for it to start responding, but this happens quite often (about 15 times per day), I use VS for about 6 hours a day. Hanging 2.5 times a day can be pretty annoying.Hope this gets fixed for the release.

Tuesday, November 24, 2009 9:09 PM by Zach

# re: Performance of VS Beta 2

* I meant Hanging 2.5 times AN HOUR (not day) can be pretty annoying

Tuesday, November 24, 2009 9:13 PM by Zach

# re: Performance of VS Beta 2

Zach, can you please contact me at scarroll -at- microsoft.com?  I'm driving the debugger hangs investigation for the product group.  We are working on root causing TimothyP's issue and I'd like to verify that your instance is something we've already fixed (or fix it if it isn't :) )  Thanks.

Wednesday, November 25, 2009 7:27 AM by Steve Carroll (MS)

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker