-
Enhancement
-
Resolution: Fixed
-
P3
-
fx2.0
The test which creates TreeView with 100 nested TreeItems of type String
and then try to expand/collapse all items on every pulse shows less than 4fps performance.
JavaPerformanceAnalyzer shows the most of the time is spent in TreeItem.equals methos.
See attached sceenshot for more details.
"Expand all" functionality seems to be the one which could be widely used by users.
So, it's performance is important.
To run the test do:
1) compile TreeViewExpandPerfTest.java
2) java -cp "JFX/rt/lib/jfxrt.jar;." TreeViewExpandPerfTest -size 100 -type wide
where size is number of TreeItems in TreeView
type is either wide or depth
and then try to expand/collapse all items on every pulse shows less than 4fps performance.
JavaPerformanceAnalyzer shows the most of the time is spent in TreeItem.equals methos.
See attached sceenshot for more details.
"Expand all" functionality seems to be the one which could be widely used by users.
So, it's performance is important.
To run the test do:
1) compile TreeViewExpandPerfTest.java
2) java -cp "JFX/rt/lib/jfxrt.jar;." TreeViewExpandPerfTest -size 100 -type wide
where size is number of TreeItems in TreeView
type is either wide or depth