.NET Framework Bookmark and Share   
 index > Windows Presentation Foundation (WPF) > WPF still painfully slow?
 

WPF still painfully slow?

I'm an RIA developer and I try to use Flash / Flex / Air whenever possible because it's so much easier to build quality interfaces. I was very excited by the release of WPF and Expression Blend, believing it would bridge the power of .Net with modern GUI and a year and a half ago I tried developing an application in it.

Both the IDE and the application were so excrutiatingly slow that I gave up after a month of trying to get it to work. I am currently working on an application that syncs selected data from an accounting system to a website database and I decided to give WPF another try. I'm now using Blend 3, VS 2008 and .Net 3.5 with SP1. Unfortunately, I've run into the same performance issues I had with my last attempt. I've spent a month now working on the GUI and several redesigns (per optimization guidelines and tips I've found on the internet) to no avail. Both the Expression IDE and the app is slow and unresponsive enough to make it impractical.

The target system is XP Pro and I have found performance is better on a Vista machine. Removing animations (I only had one) and data binding helps, but performance is still unacceptable. I'm on the verge of giving up on WPF entirely, I can not afford to keep wasting so much on it. Is there something that I'm missing? I know this has been an issue for others as well, but obviously there are also apps based on the Framework that work just fine.

Target machine:
2.0 GHz AMD Athlon 64 dual core
4 GB RAM
NVidia GeForce 6150
Windows XP Pro

Thanks.

Blinzler, Rob
I have seen the opposite, in many of our applications.

WPF seems to scale and perform quite well. We've had very few issues with it, although you do have to watch for different things in terms of performance than you do with Windows Forms, etc.

In addition, the rich databinding support makes business application development very, very nice, especially once you get over the learning curve and handle things in a clean, well designed manner.

Your system is probably fine, in terms of specifications for CPU/RAM/etc (it's better than some of mine, actually), however, I'd guess you may be running into perf. problems due to the graphics solution. The 6150 line supports SM3, so you should be getting hardware acceleration in your UIs in WPF, but the performance is not great. This isn't completely unexpected, since the graphics chipset is a 4+ year old chipset using embedded graphics.

I'd bet that if you stuck a new (even very cheap) graphics card in your box, you'd have a very different view of WPF performance.

Reed Copsey, Jr. - http://reedcopsey.com
Reed Copsey, Jr.
I have seen the opposite, in many of our applications.

WPF seems to scale and perform quite well. We've had very few issues with it, although you do have to watch for different things in terms of performance than you do with Windows Forms, etc.

In addition, the rich databinding support makes business application development very, very nice, especially once you get over the learning curve and handle things in a clean, well designed manner.

Your system is probably fine, in terms of specifications for CPU/RAM/etc (it's better than some of mine, actually), however, I'd guess you may be running into perf. problems due to the graphics solution. The 6150 line supports SM3, so you should be getting hardware acceleration in your UIs in WPF, but the performance is not great. This isn't completely unexpected, since the graphics chipset is a 4+ year old chipset using embedded graphics.

I'd bet that if you stuck a new (even very cheap) graphics card in your box, you'd have a very different view of WPF performance.

Reed Copsey, Jr. - http://reedcopsey.com
Reed Copsey, Jr.
Thanks. I suspected that might be part of the issue...
Blinzler, Rob
Hello rblinzler,

In addition to Reed's,

From the http://msdn.microsoft.com/en-us/library/ms742196.aspx

NVidia GeForce 6150 supports the render-tier 2.

The NVidia 6XXXislaunched from 2004.

If there is any new driver for it,you can try to upgrade the driverto see if it works.

Thank.




Please mark the replies as answers if they help and unmark them if they provide no help
Hua Chen

You can use google to search for other answers

Custom Search

More Threads

• How do I bind data to dynamically created datagrid colums [WPFToolKit]
• Help with Trigger inside of nested listbox templates...
• DragDrop from a Label
• how to use File open Dialogue Box
• About Localization
• How to add any class on canvas?
• How to force the whole UI to redraw?
• Problem using Focus() to set focus from ListView...
• WPF treeview
• What should I do? Template or Custom Control or User Control or .......?