Skip to content
WJunction - Webmaster Forum

[C#/WPF] WPF Balls Benchmark

Status
Not open for further replies.

Hyperz

Senior Member
Veteran
2,483
2009
622
To understand what this is exactly please see this site: http://bubblemark.com/. This application is a WPF port of the benchmark used on that site. More specifically, a port of the Silverlight 3 CLR test, optimized for the desktop and with full multi-core support.

[slide]http://img5.imageshack.us/img5/2492/wpfballs.png[/slide]

If you ran a couple of the benchmarks on that site and look at the screenshot you'll notice that this WPF implementation wipes the floor with all of them. It runs 5 times faster than the fastest benchmark listed on the site. That's mainly thanks to the fact that WPF offloads all rendering to the GPU (as you can see in the screenshot).

Anyway, the reason for making this port is to be able to see how well WPF apps perform on your PC. That's important since most Windows developers are moving from Winforms to WPF so in the near future a lot of apps will be WPF. Especially those with complex or fancy GUI's.

Download:
http://ifile.it/ycuv1jg/WpfBalls.zip

Supports up to 8192 balls. If someone would like the source code let me know.
 

4 comments

mmMMm. chocolate and salty.

Are you moving towards animation? This is the second program iv seen from you that involves it.
 
Not really. This doesn't use animations. That is, not WPF animations. But sometimes I use them. All controls in SL have animated feedback. But it's not something that interests me that much.
 
Status
Not open for further replies.

About the author

Hyperz
Senior Member · Joined
2,483
Messages
622
Reactions
316
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom