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 190321

Summary: Invoking Save All took 31384 ms.
Product: javame Reporter: lexut2
Component: Visual DesignerAssignee: Adam Sotona <asotona>
Status: RESOLVED WORKSFORME    
Severity: normal CC: mvfranz, talofo
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 167883
Attachments: nps snapshot

Description lexut2 2010-09-13 01:14:20 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
talofo: NB was Idle. :s

mvfranz: Trying to navigate around the source after scanning projects was complete, only to have it start scanning again.



Maximum slowness yet reported was 31384 ms, average is 11009
Comment 1 lexut2 2010-09-13 01:14:25 UTC
Created attachment 101995 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2010-09-13 08:23:23 UTC
Most of the snapshots are irrelevant (just a several tens of ms spent in AWT). The only interesting one is http://statistics.netbeans.org/exceptions/exception.do?id=422335 (but the snapshot comes from 6.8) - AWT is blocked by vmd which spends too much time in NbDocument.runAtomic. Reassigning to mobility for further evaluation.
Comment 3 Adam Sotona 2010-09-15 13:14:10 UTC
From the attached snapshot I see 354 guarded sections in a single source.
Could you, please, confirm the complexity of the VMD file?

Please, split your design into multiple documents for better performance.