{"id":486,"date":"2013-03-26T16:30:22","date_gmt":"2013-03-26T15:30:22","guid":{"rendered":"https:\/\/mihosoft.eu\/?p=486"},"modified":"2015-04-20T10:17:17","modified_gmt":"2015-04-20T08:17:17","slug":"javafx-8-performance","status":"publish","type":"post","link":"https:\/\/mihosoft.eu\/?p=486","title":{"rendered":"JavaFX 8 Performance"},"content":{"rendered":"<p>Since I work with JavaFX 8 I have the feeling that it performs a lot better than JavaFX 2.x. In September 2012 I created a JavaFX performance benchmark (based  on <a href=\"http:\/\/tbeernot.wordpress.com\/2011\/11\/12\/javafx-2-0-bubblemark\/\">BubbleMark<\/a>) to measure the framerate with different window\/scenegraph sizes. Here is the old <a href=\"https:\/\/mihosoft.eu\/?p=280\">post<\/a> which explains the benchmark.<\/p>\n\n<p>The performance has been highly improved in JavaFX 8! Previously the Linux performance was relatively poor. But that changed with JavaFX 8. Now it is <strong>twice as good<\/strong>! If you have issues with JavaFX on Linux I highly recommend that you try a preview build. Probably they use an accelerated pipeline now. The framerate still drops dramatically if the window size increases. But the overall performance is much better. For me this is not an issue anymore. <\/p>\n\n<p>The benchmark code is still on Github: <a href=\"https:\/\/github.com\/miho\/FXBenchmark01\">https:\/\/github.com\/miho\/FXBenchmark01<\/a><br>\nThe VRL-Studio project for plotting the results: <a href=\"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/benchmark-plotter-01.vrlp\">benchmark-plotter-01<\/a><\/p>\n\n<p>This are some screenshots of the new results:<\/p>\n\n<div id=\"attachment_490\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/jfx-8-performance-01.png\"><img aria-describedby=\"caption-attachment-490\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/jfx-8-performance-01-300x196.png\" alt=\"JavaFX 8 Performance\" width=\"300\" height=\"196\" class=\"size-medium wp-image-490\" srcset=\"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/jfx-8-performance-01-300x196.png 300w, https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/jfx-8-performance-01.png 674w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-490\" class=\"wp-caption-text\">Framerate for different Window sizes<\/p><\/div>\n\n<div id=\"attachment_489\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/Bildschirmfoto-2013-03-26-um-15.42.23.png\"><img aria-describedby=\"caption-attachment-489\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/Bildschirmfoto-2013-03-26-um-15.42.23-300x155.png\" alt=\"JavaFX 8 Performance\" width=\"300\" height=\"155\" class=\"size-medium wp-image-489\" srcset=\"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/Bildschirmfoto-2013-03-26-um-15.42.23-300x155.png 300w, https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/Bildschirmfoto-2013-03-26-um-15.42.23-1024x529.png 1024w, https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/Bildschirmfoto-2013-03-26-um-15.42.23-700x361.png 700w, https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/Bildschirmfoto-2013-03-26-um-15.42.23.png 1200w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-489\" class=\"wp-caption-text\">JavaFX 8 Performance<\/p><\/div>\n\n<p>If you&#8217;d like to perform the benchmark yourself all you need is a recent version of NetBeans (>=7.2) and VRL-Studio (>=0.4.5.3) for plotting the results.<\/p>\n\n<p>What are your thoughts? How many nodes can you have in your scene graph?<\/p>\n\n<p><strong>@JavaFX-Team: keep up the good work!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I work with JavaFX 8 I have the feeling that it performs a lot better than JavaFX 2.x. In September 2012 I created a JavaFX performance benchmark (based on BubbleMark) to measure the framerate with different window\/scenegraph sizes. Here is the old post which explains the benchmark. The performance &#8230;<\/p>","protected":false},"author":1,"featured_media":490,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[13,21,5],"tags":[22,124,23,125,24],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/mihosoft.eu\/wp-content\/uploads\/2013\/03\/jfx-8-performance-01.png","jetpack_shortlink":"https:\/\/wp.me\/p2P2yR-7Q","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/486"}],"collection":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=486"}],"version-history":[{"count":15,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/486\/revisions"}],"predecessor-version":[{"id":503,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/486\/revisions\/503"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/media\/490"}],"wp:attachment":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}