Performance Tips n' Tricks wiki page

Richard Bair richard.bair at
Mon Jun 3 16:28:55 PDT 2013

Thanks Pedro, will put these on the wiki. The layout vs. bind is an interesting question and one that isn't entirely clear. I use some of both depending, really, on what is most natural for the case I'm facing rather than on a strict performance basis. Because Java doesn't have binding in the language, it is harder to use it so excessively that it causes a problem like it could in FX Script.


On Jun 3, 2013, at 3:54 PM, Pedro Duque Vieira <pedro.duquevieira at> wrote:

> Hi,
> Some of my ideas (might be wrong):
> - use layouts whenever possible instead of binds for laying out nodes
> - reduce use of effects. If the effect is static use images instead of
> effect
> - In javafx 1.3 it would cost more to use stroke instead of a fill. For
> instance if you have a rectangle with a stroke with would be more efficient
> to draw 2 rectangles with a fill, so the other one would be used to produce
> the stroke. Don't know if this still applies.
> My 2 cents. Kind regards,
> -- 
> Pedro Duque Vieira

More information about the openjfx-dev mailing list