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.

Bug 215220

Summary: 3.5s - org.netbeans.core.windows.actions.CloseAllButThisAction.run()
Product: platform Reporter: misterm <misterm>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 190475
Attachments: nps snapshot

Description misterm 2012-07-06 02:20:37 UTC
This bug was originally marked as duplicate of bug 210576, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20120702-588b678dd4f2)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.8-b03, Java(TM) SE Runtime Environment, 1.6.0_33-b03
OS: Windows 7
Maximum slowness yet reported was 3451 ms, average is 3451
Comment 1 misterm 2012-07-06 02:20:40 UTC
Created attachment 121779 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-08-22 11:45:44 UTC
One call to
org.netbeans.core.windows.actions.CloseAllButThisAction.run()	100.0	3 222 ms (100%)	3 222 ms	1

leads to 18 calls to 
org.netbeans.core.multiview.MultiViewCloneableTopComponent.getPersistenceType()	80.01399	2 578 ms (80%)	2 578 ms	18


Probably caused by fix to bug 212993. Calling containsKey is not efficient.
Comment 3 Stanislav Aubrecht 2012-09-04 09:42:19 UTC

*** This bug has been marked as a duplicate of bug 216454 ***