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 239286

Summary: 4s - LazyMenu$MenuFolder.createInstance
Product: guibuilder Reporter: patatracq
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal CC: jtulach, KhArtNJava, stayprime, tomzi, y_scherbak
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202557
Attachments: nps snapshot

Description patatracq 2013-12-09 21:30:54 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
KhArtNJava: xcvxczv

tomzi: .

GUEST: IDE Startup

GUEST: SLOW BOOTING OF NETBEANS...
MUCH MORE TIME TO EXECUTE

GUEST: I was writing JavaScript code. Other than that, nothing.

GUEST: Just clicked somewhere



Maximum slowness yet reported was 55236 ms, average is 13092
Comment 1 patatracq 2013-12-09 21:30:56 UTC
Created attachment 142984 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2013-12-12 13:06:15 UTC
The second 7.4beta report
http://statistics.netbeans.org/exceptions/exception.do?id=683167
is more about

   org.openide.awt.MenuBar$LazyMenu$MenuFolder.createInstance(): 3725 / 0
        org.openide.awt.DynaMenuModel.loadSubmenu(): 3725 / 0

many UI components are created in one AWTRun "pulse". Each of them having at least one access to a resource (name, image). Splitting that initialization to multiple "pulses" would improve the responsiveness.
Comment 3 Jan Peska 2014-07-14 12:22:22 UTC
Only report from 8.0 is cause by slowness in org.netbeans.modules.form.GandalfPersistenceManager.loadComponent -> reassigning to the guibuilder for evaluation.