JDK-8116207 : Reduce toggling managed on nodes in VirtualFlow
Type:Bug
Component:javafx
Sub-Component:controls
Affected Version:8
Priority:P3
Status:Closed
Resolution:Fixed
Submitted:2013-05-22
Updated:2015-06-17
Resolved:2013-05-22
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
One thing that was noticed when reviewing performance is how costly it is to toggle the managed state of nodes needlessly. This is the case in VirtualFlow.
Comments
I just close it, as developer agreed with his fix.
09-09-2013
This change only has a small change on desktop, as shown with the benchmark below:
TableView:
java -cp "../../../artifacts/sdk/rt/lib/ext/jfxrt.jar;./dist/Controls.jar;../FXBenchmark/dist/FXBenchmark.jar;./dist/benchmarks-2.1.1.jar" -Djavafx.animation.fullspeed=true -Dquantum.norenderjobs=false jrockit.bm.Main controls.bm.TableViewBenchmark -mode keyboard -usePulse true -keysPerInjection 1 -cells 150 -i 1 -wt 5 -tr 30
Before fix:
with rendering: 66.745384 fps
no rendering: 320.070099 fps
After fix (and enabled):
with rendering: 66.694702 fps
no rendering: 321.277771 fps