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 243740

Summary: org.openide.explorer.view.VisualizerNode.getChildren: LowPerformance took 33403 ms.
Product: projects Reporter: Exceptions Reporter <exceptions_reporter>
Component: Generic Projects UIAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WORKSFORME    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209055
Attachments: nps snapshot

Description Exceptions Reporter 2014-04-10 15:35:11 UTC
This bug was originally marked as duplicate of bug 172715, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 8

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>
When i started netbeans, it start quick but responses very slow.



Maximum slowness yet reported was 33403 ms, average is 33403
Comment 1 Exceptions Reporter 2014-04-10 15:35:12 UTC
Created attachment 146677 [details]
nps snapshot
Comment 2 Jan Peska 2014-04-11 09:52:22 UTC
Open project action called during the initial Opening projects process - further evaluation needed
Comment 3 Ondrej Vrabec 2014-07-17 08:10:24 UTC
Projects create their nodes too slow and inside the nodes mutex holding a write lock which effectively locks all access to nodes hierarchy.
Build your nodes (or pre-build everything time-consuming) before setting children.keys:
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren -> 
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.createNodes()	97.95994	22,954 ms (98%)	2,896 ms
Comment 4 Tomas Stupka 2015-06-11 13:11:29 UTC
only one report and no duplicate in over a year since nb 8.0 2014-04-10. 
Perhaps already gone. Closing