<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx</link><description>I want to start by thanking everyone that has commented on the Beta (by posting their thoughts here or elsewhere) for doing so. Please keep those comments coming! They have a great impact on the senior leadership here and they are excellent rallying points</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Visual Studio 2010 Performance Part 1: Startup - Rico Mariani</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9670449</link><pubDate>Sun, 31 May 2009 19:44:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9670449</guid><dc:creator>DotNetShoutout</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story - Trackback from DotNetShoutout&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9673789</link><pubDate>Mon, 01 Jun 2009 03:53:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9673789</guid><dc:creator>Troy</dc:creator><description>&lt;p&gt;Hello Mr. Mariani, and thanks first and foremost with your honesty. I am not going to lie and say that I enjoy the fact that the RTM startup time will not get much improvement over B1.&lt;/p&gt;
&lt;p&gt;I have been a user of VS sine VS97 and even used VC1! (back when it was all seperated), then briefly moved to Java where Eclipse is the reigning IDE king, and then back to VS.&lt;/p&gt;
&lt;p&gt;When I was doing Java, Eclipse loaded slow like molasses but I didn't care, no did any devs on my team, and I am going to tell you the reason why:&lt;/p&gt;
&lt;p&gt;Not once I recall the Eclipse IDE even crashing on me, so we would start it at the beginning of the day Monday and not close it until probably Friday evening. So you had to pay only once for the slow startup time and that slight loss was more than made up by the robustness and the usefulness of the IDE (it is just such a beautiful and rich environment).&lt;/p&gt;
&lt;p&gt;Visual Studio on the other hand, I don't recall a single day where I did not restart it at least twice during the day, and if you let it run for a long time it would get so unstable that you had to close it, so some cleanup and restart it.&lt;/p&gt;
&lt;p&gt;So if the slower startup time is counter &amp;nbsp;balanced by more robustness and hence less need to restart the app, the impact will be lesser.&lt;/p&gt;
&lt;p&gt;Now that doesn't mean that it should always be slow.&lt;/p&gt;
&lt;p&gt;Looking at Beta1 splash screen load, I don't understand half the icons on that screen that I am assuming are language services that are loaded on startup:&lt;/p&gt;
&lt;p&gt;What the heck is the &amp;quot;Microsoft Silverlight Project&amp;quot; or the &amp;quot;F#&amp;quot; or the &amp;quot;Visual Studio Tools For Office&amp;quot;? Why isn't there a &amp;quot;Startup configuration screen&amp;quot; that allow me to control exactly what gets auto-loaded on start-up so I can disable items I know I will never be using?&lt;/p&gt;
&lt;p&gt;The extension and add-in manager do the right things by allowing you to enable/disable/aut-start add-in and extensions..maybe all these language services should be provided to the VS Core IDE as services as well that you can configure to autostart/manual start/disable..so if I am doing only native win32 C++ I don't need any of these other items to load when I know in advance I will not be using them in the foreseeable future..so not only am I cutting on load time, I am also cutting on memory usage.&lt;/p&gt;
&lt;p&gt;I know it is not a trivial task...but maybe this should be the direction for the next release.&lt;/p&gt;
&lt;p&gt;Sorry for the long post...I have more to say, but I will leave the chance for others to express their views.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9674048</link><pubDate>Mon, 01 Jun 2009 05:26:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9674048</guid><dc:creator>Yannick</dc:creator><description>&lt;p&gt;&amp;lt;&amp;lt; We decided to make some investments in better display technology in this release and for the future; that meant loading WPF at startup &amp;gt;&amp;gt; Did you consider using a more effective technology to handle the display, like for instance Direct2D, before deciding to use WPF?&lt;/p&gt;
&lt;p&gt;I agree with Troy, it would be great to choose which services (languages support, etc.) we want to install / enable before to reduce the memory footprint / disk usage.&lt;/p&gt;
&lt;p&gt;I also think a 100% native version (e.g. with no dependency to .NET) would be very valuable - Native developers do not care about a lot of features added since VS7 for the .NET world (and miss some of them that have been removed). I assume a large part of these new features are implemented in managed code, which makes the IDE slower and slower. VC6 remains in my opinion the best version of Visual Studio so far, VC10 is supposed to be the new 6 but I am quite skpetical....&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9676424</link><pubDate>Mon, 01 Jun 2009 13:42:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9676424</guid><dc:creator>Stephen A.</dc:creator><description>&lt;p&gt;Despite what it looks like, raw startup performance is not terribly useful. &amp;quot;Start to ready&amp;quot; is more useful and the most important aspect is the time it takes to load a solution and populate the UI elements with that information.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9678234</link><pubDate>Mon, 01 Jun 2009 17:54:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9678234</guid><dc:creator>Keith Patrick</dc:creator><description>&lt;p&gt;I'm going to second what Troy said; performance tradeoffs aren't the end of the world as long as there is a net gain, but when the IDE itself is as unstable as it is (and this goes back at least to 2005, which I was crashing daily as recently as a month ago, through at least 2008, which has cost me a couple of days of lost XAML due to inopportune crashes as well just in the last 2 weeks), it's just not worth it (not to mention many times I can't tell if the IDE is crashing or just gummed up in one of its &amp;quot;pauses&amp;quot;)&lt;/p&gt;
&lt;p&gt;But then, stability issues go further than VS (Internet Explorer is - and has been for years - the most unstable piece of software I've used from a major vendor since I ran Windows 3.1, although I also put some of the problems on Adobe in spite of the host's responsibility to NOT CRASH)&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9678451</link><pubDate>Mon, 01 Jun 2009 19:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9678451</guid><dc:creator>JohnGalt</dc:creator><description>&lt;p&gt;Startup time doesn't matter to me so long as VS.net doesn't crash all of the time (regular occurance right now with Vs.net 2008)&lt;/p&gt;
&lt;p&gt;What does matter to me is the delays in the text editor on large files (&amp;gt; 2000 lines). Yes, these files exist all of the time with Winforms and no they do not require refactoring, they require that the editor is way faster and doesn't get in the way and block typing while it figures out what to highlight. &amp;nbsp;If this was fixed, I don't have a problem with the speed of VS.net (except opening and saving large forms in the WinForm designer).&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9678566</link><pubDate>Mon, 01 Jun 2009 20:05:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9678566</guid><dc:creator>ricom</dc:creator><description>&lt;p&gt;I'm going to be talking about the editor in later postings.&lt;/p&gt;
&lt;p&gt;I want to reiterate my thanks for these thoughtful comments. &amp;nbsp;They really do help!&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9684985</link><pubDate>Tue, 02 Jun 2009 13:37:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9684985</guid><dc:creator>Zaki mirza</dc:creator><description>&lt;p&gt;Hello Rico,&lt;/p&gt;
&lt;p&gt;I have been playing around B1 and I have one slight issue (two actually, but interrelated). &lt;/p&gt;
&lt;p&gt;1. I cannot find any options for Multi-monitor support.&lt;/p&gt;
&lt;p&gt;2. So I setup my B1 as usual, solution explorer, Class View, Properties, on the other LCD. Now when I exit VS, the main application window closes pretty fast (like it should) but I can see that the solution explorer window and others stay there for a while. O_o. Any comments?&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9687816</link><pubDate>Wed, 03 Jun 2009 02:48:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9687816</guid><dc:creator>Randy Ridge</dc:creator><description>&lt;p&gt;Can we get rid of the stupid splash dialog? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mine (in 2008) reads like a novel with all the plugins I've got installed. &amp;nbsp;I know there's a switch to disable it, but seriously, do we really need a splash screen? &amp;nbsp;I'd be seriously pissed if notepad displayed a splash screen every time I opened it to jot something down, etc...&lt;/p&gt;
&lt;p&gt;I have no metrics on splash screen impact on startup but displaying it and querying for plugins and whatnot has to have some minimal impact. &amp;nbsp;The annoyance factor is probably more significant.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9688488</link><pubDate>Wed, 03 Jun 2009 04:11:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9688488</guid><dc:creator>Troy</dc:creator><description>&lt;p&gt;Randy Ridge: With VS taking over 30 seconds to start, there is little choice but to display the splash screen. How would the user know otherwise if the IDE has actually started loading? (if not, they will hit that icon until they see something)&lt;/p&gt;
&lt;p&gt;And I really doubt that the Splash screen itself is stealing any precious CPU cycles. The performance impact of the removal of the splash is really negligible.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9688492</link><pubDate>Wed, 03 Jun 2009 04:13:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9688492</guid><dc:creator>Troy</dc:creator><description>&lt;p&gt;Randy Ridge: But I do agree with you that the splash screen in VS2010 reads more like a novel than a startup bitmap.&lt;/p&gt;
&lt;p&gt;I have suggested way to get around that in my previous comment post.&lt;/p&gt;
&lt;p&gt;As for the annoyance factor, is it really that bad? just close your eyes when it starts :)&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9688561</link><pubDate>Wed, 03 Jun 2009 04:45:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9688561</guid><dc:creator>Randy Ridge</dc:creator><description>&lt;p&gt;Troy, seriously? &amp;nbsp;I clicked the icon, do I really need a splash screen to satiate me while I'm waiting? &amp;nbsp;What other application does this? &amp;nbsp;Maybe I open a game or something that plays a bunch of titles and logos, but usually they allow me to skip them. &amp;nbsp;I get that it may take some time to start the app but either show me some video with lots of cool stuff happening or don't do anything. &amp;nbsp;This middle of the road splash dialog crap is stupid. &amp;nbsp;Magnify it with showing me what I've installed are you serious? &amp;nbsp;I know what I've installed. &amp;nbsp;Give me a window, before I can click on File/New Project or File/Recent Projects/The Project I Want you'll be done loading. &amp;nbsp;A splash screen? &amp;nbsp;For Visual Studio? &amp;nbsp;Seriously?&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9689000</link><pubDate>Wed, 03 Jun 2009 06:26:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9689000</guid><dc:creator>Troy</dc:creator><description>&lt;p&gt;Randy Ridge: &amp;quot; What other application does this?&amp;quot;..funny you should ask :)&lt;/p&gt;
&lt;p&gt;-Eclipse&lt;/p&gt;
&lt;p&gt;-Netbeans&lt;/p&gt;
&lt;p&gt;-Delphi&lt;/p&gt;
&lt;p&gt;-Microsoft Office (Word, Excel, PP)&lt;/p&gt;
&lt;p&gt;-Windows :)&lt;/p&gt;
&lt;p&gt;-Adobe Photoshop&lt;/p&gt;
&lt;p&gt;-Adobe Acrobat and most adobe products&lt;/p&gt;
&lt;p&gt;-3DStdioMax&lt;/p&gt;
&lt;p&gt;-Reaper&lt;/p&gt;
&lt;p&gt;-Cubase/Nuendo&lt;/p&gt;
&lt;p&gt;-Sony Vegas, sound forge, ...&lt;/p&gt;
&lt;p&gt;-Patchmix DSP&lt;/p&gt;
&lt;p&gt;And a lot more...although the majority of these programs allow you to turn the splash screen off.&lt;/p&gt;
&lt;p&gt;A question to you: since you won't see anything for a good 30seconds+ if you remove the splash screen..how would you know that the program actually started? or maybe you want to see some other bitmap as a splash screen with a progress bar and dynamic elements?&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9689052</link><pubDate>Wed, 03 Jun 2009 06:52:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9689052</guid><dc:creator>Randy Ridge</dc:creator><description>&lt;p&gt;Seems like nothing more than a crutch to me, if it takes so long to load the app that I don't know something is happening then there's a problem. &amp;nbsp;My &amp;quot;one-one thousand etc&amp;quot; test shows me that visual studio loads the application window in ~4 seconds on my box cold (though it takes longer to be able to do anything, the splash screen is up almost immediately and only visible for about about two one-thousand). &amp;nbsp;It's roughly the same for photoshop. &amp;nbsp;My point is that this doesn't do anything useful for me, I can barely read the splash screen before the window comes up, so what's the point? &amp;nbsp;Photoshop doesn't list every single plugin when I launch it, why should VS? &amp;nbsp;Even better, why have the splash dialog at all?&lt;/p&gt;
</description></item><item><title>SSD anyone?</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9689895</link><pubDate>Wed, 03 Jun 2009 10:51:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9689895</guid><dc:creator>Anders Borum</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;just wanted to state that I'm getting exceptional fast load times with VS 2008 SP1 since I switched to a SSD on a Server 2008 x64 install. Loading performance wasn't really bad previous to the SSD, but now, when I click on the icon on the desktop, it takes less than a second before the IDE is ready.&lt;/p&gt;
&lt;p&gt;Therefore, I'd advocate spending more time on stability (as is mentioned by other users) and making it more enjoyable working in VS (after it's loaded up).&lt;/p&gt;
&lt;p&gt;It's all about the hardware. I reckon most serious devs will be using SSDs in the time frame of VS 2010s lifetime.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9690371</link><pubDate>Wed, 03 Jun 2009 12:00:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9690371</guid><dc:creator>ShuggyCoUk</dc:creator><description>&lt;p&gt;Some thoughts:&lt;/p&gt;
&lt;p&gt;I am almost always opening a specific solution when opening Visual Studio.&lt;/p&gt;
&lt;p&gt;Can that scenario not significantly improve the start up time by, for example, not triggering any ASP related code if it doesn't need it.&lt;/p&gt;
&lt;p&gt;Secondly:&lt;/p&gt;
&lt;p&gt;Whilst the MEF is a wonderful thing in most cases the *discovery* process is *not &amp;nbsp;required every time I open the app*. The number of times this set up changes verses the number of times I open VS is a ratio I would posit at 1:1000 or higher. Have the thing start up assuming the same set up as before and, if this turns out to be wrong [1] redo.&lt;/p&gt;
&lt;p&gt;[1] obviously there are two ways this can happen, &lt;/p&gt;
&lt;p&gt;a) the thing you expected to be there isn't, fast awareness, simple no user intervention restart yourself with full discovery. &lt;/p&gt;
&lt;p&gt;b) something new is there, you would only be able to spot this via a background post start up thread that did a quick sanity check and either: let the user know that a restart is required to get the new functionality or just make the next restart happen with full discovery.&lt;/p&gt;
&lt;p&gt;If someone is messing about with IDE integration (i.e. writing a plugin) either a command line switch or an option toggle to activate permanent full discovery is a reasonable thing.&lt;/p&gt;
&lt;p&gt;Thirdly:&lt;/p&gt;
&lt;p&gt;I tend to run multiple instances of VS (normally with different solutions) and that scenario has many issues unrelated to performance (options changes taken from last closed and the like) but in terms of performance I percieve a reasonable speed up in startup of one over the other. Is your VS specific (as opposed to framework specific) managed code going to be n'gened and tweaked for minimal private pages?&lt;/p&gt;
&lt;p&gt;Fourthly:&lt;/p&gt;
&lt;p&gt;Find References and other refactoring tools are appallingly inefficient. I ask for all references to a private variable and it feels the need to background recompile my entire solution! OK internal is a bit more tricky with InternalsVisibleTo but essentially that feature set is almost never used because I either buy resharper or just use find!&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9690377</link><pubDate>Wed, 03 Jun 2009 12:03:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9690377</guid><dc:creator>Daniel Rose</dc:creator><description>&lt;p&gt;For us, editing/typing speed is the major problem with VS.&lt;/p&gt;
&lt;p&gt;Our main solution is relatively large (almost 60 projects, about 34MB source code). It is in C, with a bit of C++. Additionally, there is a bunch of Fortran converted with F2C and Objective-C converted with OCC. Some of the files contain 30k LOC (no, I didn't write them).&lt;/p&gt;
&lt;p&gt;With this, VS becomes slow as molasses. Typing or even just moving the cursor can sometimes take seconds (this is on a Quad-Core Q9550 with 4GB RAM).&lt;/p&gt;
</description></item><item><title>re: Randy Ridge</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9690505</link><pubDate>Wed, 03 Jun 2009 13:12:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9690505</guid><dc:creator>Daniel Rose</dc:creator><description>&lt;p&gt;Randy Ridge: &amp;quot;Photoshop doesn't list every single plugin when I launch it.&amp;quot;&lt;/p&gt;
&lt;p&gt;On my box at home (about 7 years old), Photoshop takes half a minute or so to start. And its splash screen shows the plugins and DLLs it is loading.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9690514</link><pubDate>Wed, 03 Jun 2009 13:17:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9690514</guid><dc:creator>Jalf</dc:creator><description>&lt;p&gt;@Randy Ridge: The splash screen might not be useful to you, but is it harmful? If not, why not leave it? That way, people who are on slower computers, or have more VS plugins slowing down the load, or whatever else, will be able to see that the app has been started. Why rant and rage so much against a feature that, at best, is completely harmless?&lt;/p&gt;
&lt;p&gt;(Although a quick test showed me that it can be improved a bit. On my laptop, from I click to launch the VS2k10 beta, it takes 8 seconds before the splash screen shows. And then another 3-4 before it disappears again. If the splash screen is only visible during the last 30% of the load process, it suddenly becomes pretty pointless ;))&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9690901</link><pubDate>Wed, 03 Jun 2009 14:28:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9690901</guid><dc:creator>tobi</dc:creator><description>&lt;p&gt;is startup perf really that important? i do that once a day because hibernation does not work on my box. if it did i would restart vs once a week.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9691180</link><pubDate>Wed, 03 Jun 2009 16:16:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9691180</guid><dc:creator>pingpong</dc:creator><description>&lt;p&gt;[quote]&lt;/p&gt;
&lt;p&gt;The way we create the toolbars is more complicated than it needs to be. We can get the exact same result using fewer UIElements with some style and code changes &lt;/p&gt;
&lt;p&gt;[/quote]&lt;/p&gt;
&lt;p&gt;So it's possible to create WPF toolbar which has visible impact on the load time of a complex app, like the VS2010 IDE? How many buttons are there, anyway?&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9691591</link><pubDate>Wed, 03 Jun 2009 18:42:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9691591</guid><dc:creator>zzz</dc:creator><description>&lt;p&gt;The startup on modern low end desktop (c2d based) is fast enough in Beta 1 on Win7RC. Stepping and compiling performance (c++) are important as those happen quite often vs startup.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9691611</link><pubDate>Wed, 03 Jun 2009 18:47:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9691611</guid><dc:creator>Joel</dc:creator><description>&lt;p&gt;Here's my biggest performance beef with VS 2008 (and earlier): don't penalize me for hitting F1. If you can't start the help viewer instantly, start it on another thread so it doesn't lock up my editor while I'm waiting for the help to come up.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9691630</link><pubDate>Wed, 03 Jun 2009 18:54:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9691630</guid><dc:creator>zzz</dc:creator><description>&lt;p&gt;Joel that could end up looking like &amp;quot;why isn't this f1 doing anything&amp;quot; then up pops dozen helps after pressing it few times. There has to be some indication that stuff is happening. Maybe best would be if some of the stuff that the help viewer uses could be loaded on background priority after other stuff is loaded.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9692215</link><pubDate>Wed, 03 Jun 2009 22:17:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9692215</guid><dc:creator>ricom</dc:creator><description>&lt;p&gt;Help is totally reworked in VS2010, it uses your browser exclusively to view content. &amp;nbsp;You should find it a lot faster. &amp;nbsp;In the beta there is only online help but that's just temporary.&lt;/p&gt;
&lt;p&gt;Lab machines showed IDE startup in the 1800ms range. &amp;nbsp;A savings of even 50ms is signficant (they add up) and it's easy to use that much time on toolbars given the number that we have. &amp;nbsp;The new code is a lot better. :)&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9695809</link><pubDate>Thu, 04 Jun 2009 03:26:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9695809</guid><dc:creator>Skip</dc:creator><description>&lt;p&gt;Help being totally reworked in VS2010 and being a lot faster is a good thing, because I can hardly assume if it were any worse in previous versions that it would be considered shippable.&lt;/p&gt;
&lt;p&gt;My experience with VS2008 and VS2005 usually goes like this:&lt;/p&gt;
&lt;p&gt;I hit F1 completely by mistake, having tried to hit escape to cancel the selection of some text, or something, and slightly missing. &amp;nbsp; That's about, oh, 99.9% of the time that I hit F1, because tabbing to a browser, hitting google, typing in the name of what I need help on, searching and choosing the MSDN link that is usually the top return and invariably in the top 5 is way faster. &amp;nbsp; By probably at least 30 seconds if not much, much more.&lt;/p&gt;
&lt;p&gt;My VS window is now unusable. &amp;nbsp;VS2005 and VS2008 behave differently here. &amp;nbsp;2005 will, after some time, pop up a window that says that it's waiting on an external app, and would I like to keep waiting or switch to that app? &amp;nbsp; There's no actual other app to switch to yet, the help system is still loading. &amp;nbsp; After one or more cycles of waiting, the window finally opens, and I can close it and go back to work. &amp;nbsp; If I use process explorer or something to kill the loading help app, VS2005 becomes very very unstable, so you should just cut your losses, close it and restart it.&lt;/p&gt;
&lt;p&gt;VS2008 doesn't seem to have this window, at least I haven't seen it. &amp;nbsp;Instead, the text greys out, and the app is marked as 'not responding' for quite some time. &amp;nbsp;Usually on the order of a few minutes. &amp;nbsp; Mostly, eventually, the help window pops up and you can kill it and get back to work, but not always. &amp;nbsp; It seems that, especially if you accidently do this fairly quickly after loading a c++ project, you hit some sort of deadlock and it never opens. &amp;nbsp; I just did that here, accidently, because I was going to time how long it takes, and I didn't wait long enough.&lt;/p&gt;
&lt;p&gt;I really probably should just remap context sensitive help to something else that I can't accidently hit, I guess. &amp;nbsp; Maybe ctrl-alt-shift-F1 or something.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9699778</link><pubDate>Thu, 04 Jun 2009 17:50:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9699778</guid><dc:creator>Stephen A</dc:creator><description>&lt;p&gt;@Skip: same experience here. I only even hit F1 when reaching for Escape (happens more often than you think, especially on a laptop).&lt;/p&gt;
&lt;p&gt;Using a browser to navigate to msdn is invariably faster than waiting for help to load.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9701908</link><pubDate>Fri, 05 Jun 2009 23:13:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9701908</guid><dc:creator>Rico Mariani</dc:creator><description>&lt;p&gt;We will be using the browser to display help exclusively. &amp;nbsp;And we've done work to lighten the web payload as well; &amp;nbsp;I think it's now freakin' fast (TM) :)&lt;/p&gt;
</description></item><item><title>Visual Studio 2010 Performance:  Part 2 Text Editor</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9702470</link><pubDate>Sat, 06 Jun 2009 06:04:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9702470</guid><dc:creator>Rico Mariani's Performance Tidbits</dc:creator><description>&lt;p&gt;Part 1 of this series talked about the startup problems we face.&amp;amp;#160; In Part 2, I want to talk about&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9750902</link><pubDate>Sun, 14 Jun 2009 18:02:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9750902</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt;of all the things that are going to get better, startup is not one of them.&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;Rico, I can understand what you are getting at, but I think you are underemphasizing the importance of startup time.&lt;/p&gt;
&lt;p&gt;You guys are thinking that a guy comes in at 9am, starts VS, works in it all day, closes it at 5pm and goes home. &amp;nbsp;Nothing could be further from the truth.&lt;/p&gt;
&lt;p&gt;In reality, there are lots of users like me who work on all sorts of different things throughout the day. &amp;nbsp;Because of that, I'm probably in and out of Visual Studio literally dozens of times in a day. &amp;nbsp;And when I am starting Visual Studio, that's because I need to do some work in it or to look up something quickly, and the last thing I want is a long startup delay, such as what we have right now in VS2010b1.&lt;/p&gt;
&lt;p&gt;Bottom line: I think there will be a lot of users annoyed if startup time is worse compared to VS2008.&lt;/p&gt;
</description></item><item><title>re: Visual Studio 2010 Performance Part 1: Startup</title><link>http://blogs.msdn.com/ricom/archive/2009/05/31/visual-studio-2010-performance-part-1-startup.aspx#9807652</link><pubDate>Mon, 29 Jun 2009 00:37:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9807652</guid><dc:creator>Ryan Molden [MSFT]</dc:creator><description>&lt;p&gt;[Quote]&lt;/p&gt;
&lt;p&gt;So it's possible to create WPF toolbar which has visible impact on the load time of a complex app, like the VS2010 IDE? How many buttons are there, anyway?&lt;/p&gt;
&lt;p&gt;[/Quote]&lt;/p&gt;
&lt;p&gt;There are a number of things at play here. &amp;nbsp;First we don't have a set collection of toolbars in VS as they can be created by packages, DTE, user customizations, etc. &amp;nbsp;Further, since they can be manipulated after creation via DTE and/or the customize dialog it is non-ideal to programatically create these toolbars and their controls or else the DTE/Customize code would be working directly against the UI itself instead of some underlying set of models. &amp;nbsp;To that end we rely very heavily on WPF data binding and styles/templates in order to create/visualize our toolbars (and menu). &amp;nbsp;Further our toolbars aren't simply a bunch of buttons. &amp;nbsp;Buttons are by far the most prevelant item on a toolbar but they can also contain Combos, MenuControllers, SplitDropDowns (okay only Multi-Level Undo/Redo fall into this category), Menus and ContextMenus. &amp;nbsp;This requires a number of styles that are chosen based on the control type we need to visualize. &amp;nbsp;This involves WPF style lookup, template instantiation, etc.. &amp;nbsp;I think (from talks I have had with others) what Rico is saying here is that having WPF doing this repeatedly for us is wasteful in that it does the 'heavy lifting' of template instantiation 'the same' for every button (or combo, etc..) &amp;nbsp;If we were to follow WPF's route of specialized types, like ButtonChrome, that transitions the visual aspect of the controls into code-behind, we would likely see speed ups in creation/rendering time as we could optimize the templates/rendering code to be specialized, which will (almost) always be faster than the very &amp;nbsp;generic way WPF goes about doing these things. &amp;nbsp;Does that make sense?&lt;/p&gt;
</description></item></channel></rss>