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 157934 - completion startup blocked for 7s
Summary: completion startup blocked for 7s
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks: 157829
  Show dependency tree
 
Reported: 2009-02-04 17:33 UTC by Jaroslav Tulach
Modified: 2009-02-19 20:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
List of additionally loaded classes with a lot of editor ones (18.59 KB, text/plain)
2009-02-04 17:34 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-02-04 17:33:15 UTC
PS: There is 10s regression in start time described in issue 157829.

Oleg noticed that ModuleInstall for org.netbeans.modules.editor.completion/1 takes
dT=0.02s on average for 20081229 vs 4-6s for 200902

As the whitelist also indicates significant increase in # of loaded editor classes, it seems that some recent changes 
in editor are reason for the slowdown.
Comment 1 Jaroslav Tulach 2009-02-04 17:34:03 UTC
Created attachment 76573 [details]
List of additionally loaded classes with a lot of editor ones
Comment 2 Vitezslav Stejskal 2009-02-05 07:24:37 UTC
Most likely a regression caused by fixing issue #156127. The fix was probably too aggressive in initializing editor
keybindings. I'm looking into it.
Comment 3 Vitezslav Stejskal 2009-02-05 12:05:44 UTC
http://hg.netbeans.org/jet-main/rev/87242ccb352e
Comment 4 Quality Engineering 2009-02-06 07:51:24 UTC
Integrated into 'main-golden', will be available in build *200902060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/87242ccb352e
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #157934: force keybindings initialization only when it is really needed