RFR: 8246745: ListCell/Skin: misbehavior on switching skin

Ambarish Rapte arapte at openjdk.java.net
Mon Jun 15 09:47:56 UTC 2020


On Mon, 15 Jun 2020 08:11:40 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

>> ehh .. last time I did such micro-optimization was in the 80ies of last century ;)
>> 
>> Are there any performance measurements anywhere to demonstrate the impact?
>
> a bit less flippant: really interested in the measurements - certainly, they are somewhere but can't find anything. Any
> pointer where to look?

Even I do not know if there are any performance measurements for such scenario. :) May be @kevinrushforth could help in
that.  I just counted the calls by adding a log, and observed that for a ListView with only one item, these three
methods combinely are called 97 times when the Stage is displayed for the first time and 45 times when the item is
selected.

-------------

PR: https://git.openjdk.java.net/jfx/pull/251


More information about the openjfx-dev mailing list