|Re: GEF application is slow with Java 11 [message #1802911 is a reply to message #1802003]
||Mon, 18 February 2019 20:21
|| Matthias Wienand
Registered: March 2015
thank you for reporting. I suppose the GEF FX component might be too slow in some situations, i.e. GeometryNode, Connection, and/or InfiniteCanvas. You could try to remove certain visuals from the sample application to check if one of the visuals is slowing down the application (e.g. replace Connection with Line, and GeometryNode with Rectangle for a test).
Did you test the sample application with different versions of Java so that it is certainly a Java 11 issue?
FWIW I have noticed JavaFX performance issues with large renderings. It did not bother me that much, but I was thinking about the following:
- take tiling snapshots of the whole rendering
- replace snapshots with actual visuals when visible
- otherwise just show the snapshot
However, that might still not be good enough for a large window on a large monitor. So if you have another strategy in mind, please share.
Powered by FUDForum
. Page generated in 0.02398 seconds