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 243143 - slow code completion between class methods
Summary: slow code completion between class methods
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 12:29 UTC by Vladimir Voskresensky
Modified: 2014-05-14 07:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
profile-me (144.76 KB, application/octet-stream)
2014-03-21 12:30 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2014-03-21 12:29:46 UTC
cursor between class members in ASTJavaPrinter, typed G and invoked completion => please wait for 20 sec.
Comment 1 Vladimir Voskresensky 2014-03-21 12:30:40 UTC
Created attachment 146224 [details]
profile-me
Comment 2 Alexander Simon 2014-03-21 18:54:05 UTC
Not reproducible.
Probably you have a slow file system.
Comment 3 Vladimir Voskresensky 2014-03-24 06:17:28 UTC
Petr, please, investigate.
Comment 4 Vladimir Voskresensky 2014-03-24 09:10:29 UTC
after that fix
http://hg.netbeans.org/cnd-main/rev/7186eefdde9b
completion is 2 sec
Comment 5 Alexander Simon 2014-03-24 13:13:25 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/94c5b4be2d26
Comment 6 Quality Engineering 2014-03-25 03:09:50 UTC
Integrated into 'main-silver', will be available in build *201403250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/94c5b4be2d26
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug 243143 slow code completion between class methods:
- use select in virtual  query
- make lazy method return type
- use linked list instead stack
Comment 7 Quality Engineering 2014-03-26 02:45:23 UTC
Integrated into 'main-silver', will be available in build *201403260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/11e6f50acf71
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug 243143 slow code completion between class methods:
- additional fix: typo
Comment 8 Quality Engineering 2014-04-24 02:05:36 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/6f308b861d9d
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug 243143 slow code completion between class methods:
- use select in virtual  query
- make lazy method return type
- use linked list instead stack
(transplanted from 94c5b4be2d263239f909a829fa297dfdf0f2d241)