-
Bug
-
Resolution: Fixed
-
P3
-
7-pool, 8
There is up to 60% performance regression in Controls.Popup-ChoiceBox, Controls.Popup-CombBox, Controls.Popup-Menu benchmarks
noticed in promoted build 8.0-b100. Here are the results on Windows7-High end machine:
Controls.Popup-ChoiceBox: -50% (-125.11 fps)
Controls.Popup-CombBox: -63% (-141.38 fps)
Controls.Popup-Menu: -45% (-118.27 fps)
The regression first appeared in build 8.0-controls-scrum-684.
The cause is the fix ofRT-31745 "fix css font lookup" which modified CssStyleHelper.java.
Rolling back CssStyleHelper changes returns performance back.
Steps to run for example Controls.Popup-ChoiceBox:
> cd JFX_WS/tests/performance/Controls
> ant
> java -Djavafx.animation.fullspeed=true
-cp "JFX_HOME/rt/lib/ext/jfxrt.jar:./dist/Controls.jar:../FXBenchmark/dist/FXBenchmark.jar:../../../import/benchmarks-2.1.1/benchmarks-2.1.1.jar"
jrockit.bm.Main controls.bm.PopupBenchmark -i 20 -control choicebox -win-width 1280 -win-height 1024 -num-controls 500 -num-items 25
noticed in promoted build 8.0-b100. Here are the results on Windows7-High end machine:
Controls.Popup-ChoiceBox: -50% (-125.11 fps)
Controls.Popup-CombBox: -63% (-141.38 fps)
Controls.Popup-Menu: -45% (-118.27 fps)
The regression first appeared in build 8.0-controls-scrum-684.
The cause is the fix of
Rolling back CssStyleHelper changes returns performance back.
Steps to run for example Controls.Popup-ChoiceBox:
> cd JFX_WS/tests/performance/Controls
> ant
> java -Djavafx.animation.fullspeed=true
-cp "JFX_HOME/rt/lib/ext/jfxrt.jar:./dist/Controls.jar:../FXBenchmark/dist/FXBenchmark.jar:../../../import/benchmarks-2.1.1/benchmarks-2.1.1.jar"
jrockit.bm.Main controls.bm.PopupBenchmark -i 20 -control choicebox -win-width 1280 -win-height 1024 -num-controls 500 -num-items 25