[
https://issues.apache.org/jira/browse/NETBEANS-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated NETBEANS-3666:
-------------------------------------
Labels: performance pull-request-available (was: performance)
> 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
> Priority: Major
> Labels: performance, pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists