FXMark – JavaFX benchmarking software to be released soon
As some of you may have noticed, I have not posted in this blog for a few months and have not been able to release a product I have been working on for a while in my spare time. This delay is mainly the result of me having been very occupied with building and moving into a new house.
Some months ago I tweeted about my plans for a product named FXMark which is a tool to both observe node-based animations in JavaFX and also to benchmark them. In the absence of anything other than very simple animations in the JavaFX demo app Ensemble, I wanted to see for myself just how well the node-based animations available in JavaFX performed with multiple nodes and effects. I have previously posted some demos of JavaFX Canvas animations which performed surprisingly well but I was unable to find any non-trivial samples online of node-based animations.
As you will see when I release FXMark, JavaFX node-based animations perform very well. Here are some screenshots of some animations in progress with different settings:
Several options are available for configuring the animations such as those shown here:
The properties of the nodes (e.g. dimensions, stroke, colour etc.), animations (e.g. duration etc.) and effects (e.g. radius, offset, level etc.) are driven by random parameters based on either a deterministic sequence where Random is given a constant seed for consistent, reproducible results or a non-deterministic sequence using a different seed each time.
FXMark can be run as a benchmark where the actual animations run are governed by the settings in a configuration file or simply as an interactive application where the user can change the settings in real-time.
A report detailing the particular animations and their associated configurations will be produced that contains details of the resulting effects on frame rate (FPS) which will be the only metric available in v1.0. However, other metrics will be captured in future releases by extracting additional information from PulseLogger.
I hope to be in a position to release FXMark 1.0 by the end of March 2014.
Just my 2 bits