Sunday, April 06, 2008

I am JavaFX fan

Joshua Marinacci wrote really interesting post about speed of JavaFX. I have to try it. So I installed jdk 1.6.0_10 beta on my dual core Lenovo R60 with openSuse linux 10.3 and run bubblemark. Result shows the best fps results in first 15 seconds of run with 32 bubbles:

Java (Swing) - 71 fps
Java (Swing, optimized) - 131 fps
JavaFX (optimized version by Chris Oliver) - 27 fps
JavaFX - 6 fps !!!
Flash (Flex) - 31 fps
Flash (Flex) with cacheAsBitmap - 81 fps

Swing really rocks but javaFX doesn't. I don't know, may be it's only some linux issue but 6 fps is really slow. And I have to say, disabling comments on this post was really smart move (no offence). Articles like this can turn to flame war.

2 comments:

Tom said...

Try the compiled version -- that will be what gets released, not the interpreted prototype.

hlavki said...

Thanks tom for hint. Now it runs with 115 fps. I never thought that there will be such a huge difference between compiled and interpreted version.