This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | org.netbeans.swing.outline.EventBroadcaster.treeNodesInserted: LowPerformance took 20944 ms. | ||
---|---|---|---|
Product: | platform | Reporter: | Benjiwp |
Component: | Outline&TreeTable | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | cyhelsky |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 188497 |
Attachments: | nps snapshot |
Description
Benjiwp
2013-05-23 14:20:30 UTC
Created attachment 134815 [details]
nps snapshot
Vector.indexOf() takes 7000ms to finish - either too many nodes in Outline model or badly written equals() method. Please evaluate. There is no equals() method overridden, therefore the Object.equals() is used. The list of nodes has to be really large. Only the iteration through them takes 2.5 seconds. Since the performance of VariableHeightLayoutCache would have to be improved in JDK, it's won't fix from NetBeans side IMHO. |