RFR: 8282526: Default icon is not painted properly [v4]

Alexander Zuev kizune at openjdk.java.net
Thu Jun 2 14:10:36 UTC 2022


On Thu, 2 Jun 2022 00:08:48 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Time: 21313400
> Time: 4036200
> Time: 1140613100
> Time: 839499200

These are some extreme numbers, on my system it is more like 8 to 10 times slower depending on the run:
Time: 13250900
Time: 10126200
Time: 113548000
Time: 113630100

But still - the question is: how big the difference will be in the real application, knowing that we only apply this hint to a small minority of the cases and difference for single repaint (which is cached and not like we re-draw it continuously) so can we neglect the performance variation to achieve better visual result? I think the answer is yes, we are trying to mimic the system behavior and on modern systems the icons in native applications do look much better then what we produce.

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

PR: https://git.openjdk.java.net/jdk/pull/7805



More information about the client-libs-dev mailing list