JavaFX TreeTableView has poor node performance

We migrated from Swing to JavaFX, and also exchanged the Swing TreeTableView user control with the JavaFX TreeTableView .

However, we see a noticeable delay when expanding the node.

enter image description here

Looking at this problem with VisualVM, we found out that most of the time is spent on Parent.scenesChanged() and CssStyleHelper.createStyleHelper() . However, we were not able to get a solution for rapid expansion from this.

Has anyone else encountered such issues with JavaFX TreeTableView ?

The number of nodes should not be the reason, at the first level there are several hundred nodes (i.e. below the root), and each of these nodes has about 20 children.

Additional Information: We are running Ubuntu with the openjfx version (8u60-b27-4).

+5
source share

Source: https://habr.com/ru/post/1271603/


All Articles