Bubblemark Animation Test

Did you ever compared client-side RIA frameworks? Alexey Gavrilov has written a great test to directly compare performance: Silverlight (WPF/e) vs. DHTML vs. Flash (Flex) vs. WPF vs Apollo vs. Java (Swing):

"The goal of this test is to directly compare performance of different RIA frameworks / approaches in different browsers. The test, which implements simple 2D animation demo, was initially created in DHTML, then ported to Silverlight (WPF/e), Flex and WPF (XBAP). The code used in DHTML, Silverlight (WPF/e) and Flex is essentially the same while for XBAP demo it was ported to C#."

Here are the current test pages:

Of course, Alexey is offering all examples as source code download, great work!

You may also have a look at the cool Silverlight 3D demo Silverlight 1.1 3D demo.

Published Tuesday, June 05, 2007 2:09 PM by Michael Schwarz

Comments

# re: Bubblemark Animation Test

Tuesday, June 05, 2007 12:37 PM by commenter
Silverlight (CLR) is way ahead of the competition on my machine. But the 3D demo doesnt work. :(

# re: Bubblemark Animation Test

Tuesday, June 05, 2007 12:56 PM by Michael Schwarz

Thank you for the comment, I have replaced the link with the correct one!

bubblemark.com/.../silverlight1.1.htm

Regards,

Michael

# re: Bubblemark Animation Test

Wednesday, June 06, 2007 11:49 PM by ZPOW
Good job. Clear view of the best web app platform.

# re: Bubblemark Animation Test

Friday, June 22, 2007 1:19 PM by Patrick

Frames per second is not the whole measure. Check CPU usage as well.

Test Platform: Win XP Pro, Dual Xeon 2.4 GHz, 2GB, GeForce 5600, Firefox 2

Results:

DHTML                 50fps, 12% CPU, stuttery animation

Silverlight (CLR)   100fps, 58% CPU, smooth animation

Java (Swing)        64fps, 1% CPU, smooth animation

Considering CPU time, Java wins here. Moreover, Java can now use OpenGL via jogl - https://jogl.dev.java.net/

The Silverlight 1.1 3D demo takes 52% CPU time on my rig with some pauses in animation. The traditional GL Gears

3D demo with Java jogl takes 1% CPU time and is very smooth - jogl-demos.dev.java.net/applettest.html

If I were to guesstimate, the Silverlight 3D demo ported to Java jogl would beat Sliverlight in both fps and CPU efficiency without a problem.

- Patrick