[ https://issues.apache.org/jira/browse/NETBEANS-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomáš Procházka resolved NETBEANS-3666. --------------------------------------- Fix Version/s: 11.3 Assignee: Karl Tauber Resolution: Fixed PR was merged. > Excessive amount of CPU used in multitab UI > ------------------------------------------- > > Key: NETBEANS-3666 > URL: https://issues.apache.org/jira/browse/NETBEANS-3666 > Project: NetBeans > Issue Type: Bug > Components: ide - UI > Reporter: Laszlo Kishalmi > Assignee: Karl Tauber > Priority: Major > Labels: performance, pull-request-available > Fix For: 11.3 > > Time Spent: 1h > Remaining Estimate: 0h > > It seems there is a performance bottleneck in multitabs implementation. > org.netbeans.core.multitabs.impl.TabDataRenderer.getPreferredWidth(Object) is > being called several times spending considerable amount of time setting the > text on a JLabel over and over: > > [https://github.com/apache/netbeans/blob/06b3e677d9ea4dbd9987c8245fe5be776e8245f8/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/TabDataRenderer.java#L144] > The purpose of these calls is to properly measure the width of the rendered > component. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists