Ian Huff - Using VSTS Performance Tools to Speed Up Your App (Part 1)

Download this episode

Download Video

Description

I found Ian, a Developer on our Performance tools, because of his blog. He has been writing a great series of posts that preview the Performance Profiling tools you'll find in Beta 2 of VSTS.  Pictures are great, but I asked him if he'd also like to do a demo. 

Part 1 comes in at about 13 minutes contains a demo using the performance tools on sample code he downloaded that day from Gotdotnet.  You'll find that it was easy for him to discover an existing performance bug in the code using our tools! 
Enjoy,
josh

https://channel9.msdn.com/devdiv

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      littleguru
      I want Whidbey BETA 2! Really cool video.
    • User profile image
      dmarsh
      Awesome demo. Very well executed and explained. Looking forward to this feature.
    • User profile image
      ZippyV
      Does it work on managed and unmanaged languages?
    • User profile image
      Ianhu
      Hey ZippyV,

         All of the features shown in the demo work on both unmanaged and managed, with one exception. That exception is the object allocation and lifetime views, those are for managed code only.

      Ian
    • User profile image
      mgoldin
      Yes, it does. Native, managed, mixed - it is all covered.
    • User profile image
      dantheman82
      I'd say this is just about essential for all of us who often take no heed to the large amount of objects we create (often needlessly) and save a lot of memory and CPU cycles in the long run. 

      This tool, with a few other minor tweaks, could really bring .NET apps at or above the level of unmanaged apps with relative ease.  I'm glad you included the Gen0,1,2 profiling as well.

      Dan
    • User profile image
      ZippyV
      Sweet, thanks guys.
      Next time, can you use my code as a bad example (seriously) ? You can find it here on Channel 9.
    • User profile image
      reidm
      Is there a good way we can profile a library while running unit tests against it with Unit Test Framework with the UI test runner?

      I got the following to work with the command line test runner, but I am not sure if there is a better way:

      - Add the specific dll you want to instrument from the UnitTestProjectFolder/bin/Debug
      - Add the MSTest.exe path in the 'Executable to launch:' setting.
      - Add the parameters to run the tests in your assembly via MSTest

      Thanks,
      Reid

    • User profile image
      jledgard
    • User profile image
      CRPietschma​nn
      A performance increase of 25% on some random program you grabbed. Cool! I can't wait to use this, I'll have to install the beta.
    • User profile image
      ejarvi
      Reid - Thanks for the feedback and verifying that it works.  I'm not aware of a better way at this point. You're not alone in this though.  I just fielded a question on the forums asking the same thing.  I'm working on trying to clean this experience up before ship, because it does seem like one of the most common scenarios and something you would want to do all in one shot completely from the IDE.
    • User profile image
      donkaiser
      Hello Everybody
      I can't find the performance tool in the tools menu. I have VS 2005 Professional Edition.
      Anyone knows whats wrong with it?
      I even went to start->programs to look for it under microsoft VS 2005. But still cannot find it.

      Thx for any suggestion

    • User profile image
      nisha_nambi​ssan
      Thats because you need to install Visual Studio Team Edition installed for usinf the Profiler. Select the full version at the time of installation.  You'll find a Visual Studio 8.0 folder in Progam files when your done.In that go to Team Tools folder where you'll see the PerformanceTools folder.

      One you have done the installation you'll find Performace Tools option in Tools menu in the IDE Smiley

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.