{"id":10937,"date":"2009-12-17T16:01:07","date_gmt":"2009-12-17T16:01:07","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/bharry\/2009\/12\/17\/update-on-debugger-perf\/"},"modified":"2018-08-14T00:21:09","modified_gmt":"2018-08-14T00:21:09","slug":"update-on-debugger-perf-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/bharry\/update-on-debugger-perf-2\/","title":{"rendered":"Update on Debugger Perf"},"content":{"rendered":"<p>One of the things we got a lot of performance feedback on in Beta 2 was the debugger.&#160; We\u2019ve been working hard on it since Beta 2 and it\u2019s looking much better.&#160; There was no single thing that was a magic bullet that made everything go faster \u2013 but rather a whole lot of small things that together have made a huge difference.&#160; Like many of the areas we got feedback on in Beta 2, we decided we were really going to drill on perf on not only make it much better but not stop until it was even clearly better than VS 2008.&#160; I\u2019m very proud to say we\u2019ve accomplished that with the debugger now.<\/p>\n<p>We worked specifically to improve time from F5 to first break point, step over and step into time, time to restore responsiveness after stop debugging, interop debugging, disassembly debugging, thread &amp; Intellitrace window repainting and more.<\/p>\n<p>Using the Blend solution as a test case (we\u2019ve used many but this was a good one to highlight issues), we\u2019ve taken some measurements I\u2019d like to share with you.&#160; First, I asked for a comparison for stepping in the Blend solution (averaged over many steps) compared to VS 2008.&#160; For VS 2008, the time was .72 seconds.&#160; For VS 2010, it is now .52 seconds.&#160; It was several times slower than that at Beta 2.<\/p>\n<p>To demonstrate graphically the improvements since Beta 2, I have a video, thanks to Steve Carroll.&#160; VS 2010 Beta 2 is on the left, VS 2010 (today) is on the right.&#160; They are running through the same stepping scenario in the Blend code base.&#160; No, the fact that the right one stops changing when the left one has barely gotten started is not a bug \u2013 it\u2019s the improvement \ud83d\ude42<\/p>\n<p>&#160;<\/p>\n<div style=\"padding-bottom: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;float: none;padding-top: 0px\" id=\"scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:9aae8d15-bccb-42f1-8fe6-102791265bf9\" class=\"wlWriterEditableSmartContent\">\n<div id=\"615298b9-ac53-49cb-868f-7be6fe5ca95d\" style=\"margin: 0px;padding: 0px\">\n<div><a href=\"http:\/\/video.msn.com\/video.aspx?vid=9f8f2ae7-385b-4741-afa9-6764bbce0b45&amp;from=writer\" target=\"_new\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/8\/2019\/02\/video99c7b6f0969c.jpg\" style=\"border-style: none\" alt=\"\"><\/a><\/div>\n<\/div>\n<\/div>\n<p>&#160;<\/p>\n<p>We\u2019re still not done yet.&#160; At this point many of the areas (solution load, Virtual Memory usage, debugger, WPF\/Silverlight designer) are better than VS 2008.&#160; Others (typing\/IntelliSense, some WPF rendering, leaks) have made tremendous progress but aren\u2019t quite where we\u2019d like them yet.&#160; And a few others (startup performance, build performance, and some general UI sluggishness) are still building momentum.<\/p>\n<p>We\u2019re making great progress and I\u2019ll continue to keep you posted as we make headway.&#160; As always, thanks a ton for your engagement and feedback.<\/p>\n<p>P.S. I apologize for the size of the video.&#160; That\u2019s what I got and with all the perf investigations going on, I just didn\u2019t have the time to figure out how to shrink it.<\/p>\n<p>Brian<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the things we got a lot of performance feedback on in Beta 2 was the debugger.&#160; We\u2019ve been working hard on it since Beta 2 and it\u2019s looking much better.&#160; There was no single thing that was a magic bullet that made everything go faster \u2013 but rather a whole lot of small [&hellip;]<\/p>\n","protected":false},"author":244,"featured_media":14617,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[7,4],"class_list":["post-10937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-performance","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>One of the things we got a lot of performance feedback on in Beta 2 was the debugger.&#160; We\u2019ve been working hard on it since Beta 2 and it\u2019s looking much better.&#160; There was no single thing that was a magic bullet that made everything go faster \u2013 but rather a whole lot of small [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/10937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/users\/244"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/comments?post=10937"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/10937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media\/14617"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media?parent=10937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/categories?post=10937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/tags?post=10937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}