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 143506

Summary: cnd unit tests run extremely slow
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: -- Other --Assignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 143507    
Bug Blocks:    
Attachments: Profiler snapshot
The same attachment with proper MIME type, sorry

Description Vladimir Kvashin 2008-08-11 17:30:38 UTC
Now CND unit tests run extremely slow.

Today I got one test failed several times because it ran out of 10 minutes timeout (and that's just one of about 800
test cnd has!)

Tests became slow some time ago (probably a week or two?)

The development suffers from this very much.
Comment 1 Vladimir Kvashin 2008-08-11 17:32:44 UTC
Created attachment 67054 [details]
Profiler snapshot
Comment 2 Vladimir Kvashin 2008-08-11 17:33:58 UTC
Profiler shows that about 90% of time is spent in 
org.netbeans.modules.editor.settings.storage.Utils.load(FileObject, StorageReader, boolean)

which is in turn called from two methods:

org.netbeans.modules.editor.deprecated.pre61settings.EditorPreferencesInjector.propertyChange(PropertyChangeEvent)
org.netbeans.modules.editor.deprecated.pre61settings.KeybindingsInjector.access$000(KeybindingsInjector)
Comment 3 Vladimir Kvashin 2008-08-11 17:35:14 UTC
Created attachment 67055 [details]
The same attachment with proper MIME type, sorry