JavaFX — very cool, very slow
JavaFX has been the only RIA technology missing from the set included in Bubblemark. Not any longer. I built JavaFX version of the test, which uses JavaFX markup (i.e. vectors not bitmaps) for balls rendering and therefore compares directly to WPF, Silverlight and Flex.
Check out the JavaFX demo, deployed using Java Web Start here.
Here is the source code.
The first thing you’ll notice is that it’s very slow. The demo takes a very long time to load and start, and real time performance is disappointing. Here is how it compares:
JavaFX — 14 fps
Firefox + Silverlight (JavaScript) — 56 fps
Firefox + Flex — 62 fps
Adobe AIR — 62 fps
Firefox + Silverlight (CLR) — 99 202 fps (update: 202 fps after fixing main timer’s latency)
(All tests were performed on Pentium M 1.7 machine under Windows XP SP2)
It is 4.4x slower than Flash and 7x 14x slower than Silverlight (CLR-based variant).
On a positive side, development with JavaFX is fun, the language is very compact and efficient for building complex dynamic layouts. There is a great converter to JavaFX from SVG format and JavaFXPad is done nicely too.
If only it were 5x faster!
Chris Oliver’s early benchmarking results of JavaFX compiler suggest that there is a hope it could.
(update 08/27/07: Chris Oliver responds in his blog showing how you can make JavaFX bubblemark 5x faster! Here is his version and the source code.)
More valuable than oil and natural gas
Did you know that there is an unrecoverable natural resource, which is more valuable than oil and gas? There is a very limited supply of it, and I can safely say that it will run out in no longer than 90 years or, if we are not lucky, maybe even tomorrow. It’s your time. Yes, I mean your. Spend wisely.
-
- Categories:
- Technology
- Life
- Solutions box
- Usability
- Vista
- Recent posts:
- trim() function for ActionScript and JavaScript
- How to be stupid
- Posting the old stuff
- The Magic
- Cloudy day at Loudtalks
- You don’t have to prove
- TechCrunch50 list announced
- Recent translations:
- Recent comments:
- Cardin: I believe with optimisation all of these technologies, Java, Flash, Silverlight, Javascript can achieve much...
- Alexey Gavrilov: @Tunc: Tell them to send with USPS and you should be fine. Non-dutiable limit for incoming mail has...
- Tunc: I bought a running shoe and a watch that record some of your data(heart rate, speed, gps coordinates of places...
- Alexey Gavrilov: Sharing a recent good experience. A Blackberry phone (0.7 kg, under $300 value = non-dutiable if you...
- Alexey Gavrilov: Tracking on Russian Post website may include more information than provided by USPS:...
-
July 2007 M T W T F S S « Jun Aug » 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 - Archives:
- February 2010
- December 2009
- January 2009
- October 2008
- September 2008
- April 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- Feeds:
RSS
Comments RSS


