views:

280

answers:

4

I am working on a wpf application. In which I am working with a TreeView, each node represents different datatypes, these datatypes are having properties defined and using data template to show their properties. My application reads from xml and create tree accordingly. My problem is that when I load it, it is too slow, I want to know about the tricks that will help me to improve performance of my(any) wpf application.

Edit:

Please provide me some tips for better performance in wpf!! I am using wpf Profiler but it is not much helpful for me.

+3  A: 

Well, trick one: USE A PROFILER.

That shows you exactly whree you are slow.

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

Then you can try worknig around that ;) Maybe it is some specific thing that uses up all your performance? The profilers will help you identify those.

TomTom
Thanks for ur answer, this is asking me to install SDK. Is there anyway I can skip to install SDk and directly get wpfPerf.msi file
viky
Not to my knowledge.
TomTom
thanks, it worked, i found link for direct download too
viky
+1  A: 

Make sure you have Framework 3.51 and not only 3.5! There is an overall boost in performance. Maybe it will help you in case you still use 3.5.

Holli
+1  A: 

You can find quite a lot of useful information here. But I'm also having some trouble getting a good performance for some WPF applications.

J W
+1, it was helpful
viky
+1  A: 

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

viky
Congratulations on Stack Overflow post #2500000.
Michael Myers
@mmyers, what do u mean??
viky
Check here: http://stackoverflow.com/questions/2500000
Michael Myers
I got, ur welcome!!
viky