I also like programming for the Windows Presentation Framework. I mainly write browser-based applications using WPF and XAML.
But I'm really annoyed by the slowness of WPF. A simple page with several control elements loads quickly enough, but as soon as the page is more complex, but it will be more difficult, for example, it contains many data entry fields, one or two tab controls and so on, it becomes painful.
Loading such a page may take more than one second. Seconds, indeed, especially on not-so-fast computers (read: client computers), this can take years.
Same thing with changing values ββon the page. Everything about the WPF interface is somehow messy.
It's so boring! They give me this beautiful structure, but make it so painfully slow, so I will have to apologize to our customers all the time!
My question is:
- How to speed up WPF?
- How do you identify bottlenecks?
- How do you deal with slowness?
Since this seems to be a universal problem with WPF, I am looking for general tips useful for many situations and problems.
Some other related questions:
- What tools do you use to develop WPF
- WPF or Silverlight Application Development Tools
performance wpf
Sam Oct 21 '08 at 14:24 2008-10-21 14:24
source share