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 - 4s - LazyMenu$MenuFolder.createInstance
Summary: 4s - LazyMenu$MenuFolder.createInstance
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-12-09 21:30 UTC by patatracq
Modified: 2014-07-14 12:22 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202557


Attachments
nps snapshot (79.47 KB, application/nps)
2013-12-09 21:30 UTC, patatracq
Details

Note You need to log in before you can comment on or make changes to this bug.
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.