Speed up your .NET app with the CPU profilers with Visual Studio 2022
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
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!
Great feature!!!
Great stuff
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)
Video #14 and #15 same in this playlist Visual Studio Tips & Tricks czcams.com/play/PLReL099Y5nRc-zbaFbf0aNcIamBQujOxP.html
RIP youtube subscription page
.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.
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.
Switching between the title and the demo is really distracting.
Wtf you just spammed my sub feed with like 20 videos at once, can you not spread them out or something.
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