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 96621 - Low performance for code completion operation
Summary: Low performance for code completion operation
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on: 91559
Blocks:
  Show dependency tree
 
Reported: 2007-02-26 19:51 UTC by Alexander Pepin
Modified: 2007-04-23 17:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2007-02-26 19:51:03 UTC
Steps to reproduce:
- open a pretty large project (e.g. mysql)
- wait until project parsing is finished
- open mysql/client/completion_hash.cc in editor
- navigate to line 33
- press Ctrl+Space to call CodeCompletion
Result: It takes CodeCompletion list from 3.5 to 8 sec to appear (depends on
machine). It's too long in comparison with MSVS which do this operation almost
instantly.
- type 'q', 'a', 'm'
Result: Navigating (filtering) to possible words from the list takes more than 3
seconds.
Comment 1 Vladimir Voskresensky 2007-03-20 15:18:17 UTC
several improvements were done:
- new CC infrastructure
- smart sorting
- reduced global context

overal performance improvement is 3-5 times faster

after switching UIDs ON, some expected decreasing in performance
Comment 3 Alexander Pepin 2007-04-23 17:06:37 UTC
verified in build 20070423