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 - cnd unit tests run extremely slow
Summary: cnd unit tests run extremely slow
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on: 143507
Blocks:
  Show dependency tree
 
Reported: 2008-08-11 17:30 UTC by Vladimir Kvashin
Modified: 2008-08-13 13:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiler snapshot (48.07 KB, text/plain)
2008-08-11 17:32 UTC, Vladimir Kvashin
Details
The same attachment with proper MIME type, sorry (48.07 KB, text/html)
2008-08-11 17:35 UTC, Vladimir Kvashin
Details

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