Speed up your .NET app with the CPU profilers with Visual Studio 2022

Sdílet
Vložit
  • čas přidán 15. 06. 2024
  • The profiling tools in Visual Studio 2022 are the tools you need to improve the performance of your app. In this video we look at some of the new features in the CPU profiler in Visual Studio 2022 and how to get started with CPU profiling.
    aka.ms/VS2022LaunchLearnTV
    visualstudio.microsoft.com/la...
    aka.ms/vs/docs/profiling
    developercommunity.visualstud...
    00:00 Intro
    00:18 Collecting a CPU trace
    01:47 Focusing on a time range with the swim lame
    03:53 Using the flame graph 🔥
    07:34 The caller/callee view
    #vs2022 #performance
  • Věda a technologie

Komentáře • 11

  • @TwinbeeUK
    @TwinbeeUK Před 2 lety +5

    Don't forget to talk about the line by line CPU usage where it puts percentages of the CPU usage next to the lines of code themselves!

  • @rezendemarcio
    @rezendemarcio Před 2 lety

    Great feature!!!

  • @gga-wh5du
    @gga-wh5du Před 9 měsíci

    Great stuff

  • @DickBakerSql
    @DickBakerSql Před 2 lety +4

    This solution example did not show CPU saturation (i.e.wasn't a particular CPU hog as consumed maybe max 25%). Ditto the analysis (all subwindows) didn't successfully finger a particular bad-code section, so IMHO was rather non-representative of a CPU problem needing attention. I would suppose that some ray-tracing app using multiple tasks (i.e.all CPUs working hard) would be better candidate (and would also need slicing by thread on module/function/etc for proper diagnosis)

  • @AparnaSubirDas
    @AparnaSubirDas Před rokem

    Video #14 and #15 same in this playlist Visual Studio Tips & Tricks czcams.com/play/PLReL099Y5nRc-zbaFbf0aNcIamBQujOxP.html

  • @xsaitou5991
    @xsaitou5991 Před 2 lety

    RIP youtube subscription page

  • @DataJuggler
    @DataJuggler Před 2 lety +1

    .Net 6.0 is not ready for production. I just wasted 3 days upgrading all my packages, and yes .Net 6 is faster. Only problem is now it doesn't work is why it is faster. Rolling back to 5.0. I new when I heard November 2021 in November 2020 you were smoking good Seattle Skunk. Nuget doesn't let you roll back version numbers, so now my projects are all screwed. Your marketing department should be replaced by product testers.

    • @alb12345672
      @alb12345672 Před 2 lety

      I am still on 5. Too risky to move 100s of console apps ! Also hard to move away from VS code. I was working with both side by side and code is faster. Maybe if you are doing WPF or Forms..then it is a good environment.

  • @sea0920
    @sea0920 Před 10 měsíci

    Switching between the title and the demo is really distracting.

  • @Mega_Umbreon
    @Mega_Umbreon Před 2 lety +1

    Wtf you just spammed my sub feed with like 20 videos at once, can you not spread them out or something.

  • @mariostelzner4530
    @mariostelzner4530 Před 2 lety

    Pleas be careful when giving out too many free tips and tricks on Windows programming because people may learn how to actually program pc computers. As a consequence, Microsoft will increase the number of developers who can actually program PC's and, people at Microsoft will lose their jobs as Microsoft loses its share of the programming market, which Microsoft seeks to protect! AHAHAHA AHAHAHA LOL