![]() ![]() We are going to use the Timeline tool to profile the application and take a look under the hood to find out where the differences are. Instead of 7.7 seconds, it took only 0.7 seconds, which is an improvement by a factor of 10! You can already see that the number in the screenshot states that there is a tremendous performance difference once virtualization is enabled. The only difference is that in the listbox on the left side, UI Virtualization is disabled, while in the listbox on the right side, it is enabled.Īs you might know, enabling and disabling UI virtualization in WPF is a one-liner: It consists of two listboxes that load 5000 images each. Lets see how it works using a sample application: Just go to ANALYZE –> START DIAGNOSTICS WITHOUT DEBUGGING or hit Alt-F2. You can read all the details in this post from the WPF team: ![]() (Check my blog post here: ) In visual Studio 2015, the XAML UI Responsiveness Tool has been renamed to Timeline and now fully supports all XAML based applications and therefore WPF! In VS2013 Microsoft introduced the Performance and Diagnostics Hub.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |