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 67903 - Code-completion computation for the case "new |" should be made faster
Summary: Code-completion computation for the case "new |" should be made faster
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-11-01 13:22 UTC by Antonin Nebuzelsky
Modified: 2007-09-26 09:14 UTC (History)
2 users (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 Antonin Nebuzelsky 2005-11-01 13:22:14 UTC
The test case 4) from the issue 43284 should be made faster. The lastest numbers
for this test case on Dell Precision 220, PIII 800MHz, 512MB RAM, W2K are:

Showing code completion for "new " (invoked explicitly by CTRL+SPACE in opened
jEdit.java file):

5.0beta:  6641ms, 3234ms, 3109ms
4.1:      5281ms, 3688ms, 3547ms
3.6:       375ms,  140ms,   62ms
Comment 1 Pavel Flaska 2005-11-10 16:01:21 UTC
This issue will not be fixed for 5.0. It needs some architecture redesign. (e.g.
use lazy list in completion)
Comment 2 Tomas Hurka 2005-11-25 14:02:28 UTC
Following fix should improve computation time of "new |"

Checking in org/netbeans/mdr/NBMDRepositoryImpl.java;
/cvs/mdr/src/org/netbeans/mdr/NBMDRepositoryImpl.java,v  <--  NBMDRepositoryImpl.java
new revision: 1.85; previous revision: 1.84
done
Comment 3 Pavel Flaska 2005-11-25 14:07:26 UTC
Here are numbers (Pentium III 800MHz, 384 MB, Linux).
originally: 6.936 6.992 7.007 6.917 6.918 6.938
after fix:  6.531 6.621 6.677 6.650 6.224 6.549

(We measured time of transaction which computes all the classes.)
Comment 4 Antonin Nebuzelsky 2005-11-28 13:08:51 UTC
Cool, this improvement is very good, at least for the first invocation. I
measured the following times (see the initial comment of this issue for comparison):

trunk 200511271900: 5312ms, 3250ms, 2937ms

Seems we are at the numbers of 4.1 now. That's great progress! Thanks!
Comment 5 Jan Becicka 2006-10-26 16:28:01 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 6 Quality Engineering 2007-09-20 12:48:17 UTC
Reorganization of java component