From the course: Visual Studio 2019 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Evaluate performance with PerfTips

Evaluate performance with PerfTips - Visual Studio Tutorial

From the course: Visual Studio 2019 Essential Training

Start my 1-month free trial

Evaluate performance with PerfTips

- [Narrator] PerfTips provide just-in-time feedback on the performance of your app during development. They are continuously available while debugging your code and don't require a separate profiling run. PerfTips show you the elapsed time between breakpoints or the time it takes to step through your code. To demonstrate, I'll run this WPF application. When I click on this Start Demo button, I'll fill these two ListBoxes with information. I already know that the ListBox on the right side takes longer to fill with the generated robot names. Let's see that in action. That tells me there's something wrong with the code that's filling this ListBox, and I would like to investigate and see what's happening. So I'll stop the application, switch over to my code, put a breakpoint on line 15 by pressing F9, then restart the application. And click the button. Now I'm sitting here, waiting at this breakpoint, and I'm ready to move down to line 16, so I'll press F10. And there's our first PerfTip,…

Contents