DCSIMG
Performance - Essential WPF

Browse by Tags

All Tags » Performance (RSS)

Productivity Power Tools turns my Visual Studio into a Zombie by Tomer Shamam

Lately, I've noticed my Visual Studio 2010 run Veerrryyyy Sllooowwww…. in every aspect: Building, Working with the solution, Intellisence and Designer and XAML editor. Tried to figure out what's going on over there…, I have a pretty nice machine, running on i7, 4G and ATI Mobility Radeon 4670. I'm sure it should run faster! I suddenly remembered that I've installed the Productivity Power Tools since I'm using one of its great feature to copy and paste Code/XAML from Visual Studio...

Resources in WPF are Shared and Lazy by default by Tomer Shamam

I’ve just read a post of Christian Mosers listing “ Top 10 WPF Performance Tips ”. I agree with most of them, as they are general tips, but except for one: “ Load resources when needed . Even thow it's the most comfortable way to merge all resources on application level it can also cost performance by loading all resources at startup. A better approach is to load only often used resources and load the other on view level” Resources in WPF are lazy load and shared by default. If you place a resource...

Session - Advanced WPF Application Performance Tuning and Analysis by Tomer Shamam

In this great WPF performance session, Bart De Smet and Eric Harding have talked about WPF performance and demonstrates some of the performance tools the WPF team uses. One of the important things to do regards performance is to start measure early. Perceived performance, make it feel fast, turn it to an art and not a science. There would be trade offs – CPU versus memory, etc. Memory New WPF application called FishBowl has been announced. It’s a small application dealing with facebook as a case...
תגים:, , ,

UI Virtualization vs. Data Virtualization (Part 2) by Tomer Shamam

Introduction In part 1 I’ve talked about the UI Virtualization concept in WPF, and explained how it is differs from Data Virtualization concept. In this post I would like to share with you a unique solution for Data Virtualization implementation in WPF. Recall from the previous post, Data Virtualization implementation raises several problems, and there is no out-of-the-box solution for Data Virtualization in WPF. First problem: How do we fake scrollbars, so the user will think that it has all the...

WPF Performance Sweets – ContentControl (Part 2) by Tomer Shamam

Part 1 Yesterday I went back to my customer, tried to figure out if the whole concept of using data as the content of a ContentControl instead of holding a logical tree, is truly contribute to the whole system, and guess what? It is not! Well it figured out that setting the content property with non-visual element only postponed the tree-traversal. We figured this out by trying to measure the total elapsed time between setting the content property to null and up until the view completely disappeared...
תגים:, , ,

WPF Performance Sweets – ContentControl.Content = null by Tomer Shamam

Part 2 Background Yesterday I came back from my customers’ place. He had performance issues with his WPF composite application. Each time he navigates away from a page, he pays about 1400ms! – Playing around we’d found that each time a page was changed, the composite framework he uses replaces the old page with the new page by simply updating the ContentControl.Content (placeholder) with the new page. This operation solely took about 800ms! placeholder.Content = newPage; In this post I would like...
תגים:, , ,
Powered by Community Server (Commercial Edition), by Telligent Systems