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 - org.netbeans.modules.form.layoutsupport.delegates.NullLayoutSupport.addComponentsToContainer: LowPerformance took 20531 ms.
Summary: org.netbeans.modules.form.layoutsupport.delegates.NullLayoutSupport.addCompon...
Status: RESOLVED WONTFIX
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-03-27 16:51 UTC by Keda87
Modified: 2013-07-08 17:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 196603


Attachments
nps snapshot (114.44 KB, application/nps)
2013-03-27 16:51 UTC, Keda87
Details

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