Wpf: performance tips

I am working on a wpf application. In which I work with TreeView, each node represents different data types, these data types have certain properties and use a data template to show their properties. My application reads from xml and creates a tree accordingly. My problem is that when I download it, it is too slow, I want to know about tricks that will help me improve the performance of my (any) wpf application.

Edit:

Please provide me some tips on better performance in wpf! I use wpf Profiler, but for me it is not very useful.

+4
source share
4 answers

Well, the trick is one: USE THE PROFILE.

It accurately shows that you are slow.

http://msdn.microsoft.com/en-us/library/aa969767.aspx

Then you can try to work on it;) Maybe this is a certain thing that uses all your productivity? Profilers will help you identify them.

+5
source

Make sure you have Framework 3.51 and not only 3.5! Overall, productivity is improving. Perhaps this will help you if you are still using 3.5.

+1
source

Here you will find a lot of useful information here . But I also have some problems getting good performance for some WPF applications.

+1
source

A direct download link for Wpf Performance Suite is available here , just install it and optimize the performance of your wpf application.

+1
source

Source: https://habr.com/ru/post/1304844/


All Articles