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 228014

Summary: org.netbeans.modules.form.layoutsupport.delegates.NullLayoutSupport.addComponentsToContainer: LowPerformance took 20531 ms.
Product: guibuilder Reporter: Keda87
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 196603
Attachments: nps snapshot

Description Keda87 2013-03-27 16:51:03 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 7
Maximum slowness yet reported was 33185 ms, average is 26858
Comment 1 Keda87 2013-03-27 16:51:05 UTC
Created attachment 133149 [details]
nps snapshot
Comment 2 Tomas Pavek 2013-07-08 17:43:07 UTC
This looks like font initialization - may take long sometimes if the system is busy (overloaded) with disk I/O intensive work. The attached snapshot shows the actual time is spent in I/O. This is invoked from layout computation - by calling simple JLabel.getPreferredSize(). We can do hardly anything with this. (Might try experimenting with doing this in some warm up, but for that we'd need somewhat more reports - this does not look like a frequent problem to deserve that.)