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 132281 - Performance issues of smart code completion
Summary: Performance issues of smart code completion
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 07:05 UTC by Vladimir Voskresensky
Modified: 2008-04-09 14:28 UTC (History)
0 users

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 Vladimir Voskresensky 2008-04-08 07:05:28 UTC
The first mode of code completion has performance issues on OpenSolaris.
Comment 1 Alexander Simon 2008-04-08 12:52:50 UTC
fixed in main:
http://hg.netbeans.org/main/rev/9a38006d0dc3
Comment 2 Alexander Simon 2008-04-08 13:02:14 UTC
Team, should bug be fixed in release61? 
Comment 3 Vladimir Voskresensky 2008-04-08 13:24:04 UTC
We reviewed the code very carefully and I can confirm that changes are safe.
The performance improvement is excellent! Thanks! 

I believe we need it for 6.1. So, I reopen for 6.1
Comment 4 Vladimir Kvashin 2008-04-08 13:30:23 UTC
The description is too brief. The issue is as follows.
Open an Open Solaris kernel (~4-5K files).
Wait until it is parsed.
Try completion on empty space. Even smart mode waits for 8 seconds or more.
I tried on my w2100 with 2 CPUs, 4 Gb RAM on board, JVM heap limit = 1 Gb
Comment 5 Alexander Pepin 2008-04-08 16:17:52 UTC
verified in trunk
Comment 6 Alexander Simon 2008-04-08 16:32:54 UTC
integrated in release61:
http://hg.netbeans.org/release61/rev/424945f55137
Comment 7 Alexander Pepin 2008-04-09 14:28:38 UTC
verified in NB6.1RC1 (build 200804082140)