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 205174

Summary: CodeCompletion took 20486 ms.
Product: projects Reporter: rptmaestro <rptmaestro>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED DUPLICATE    
Severity: normal CC: artisan, jglick, mbedward
Priority: P3 Keywords: PERFORMANCE
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182947
Attachments: nps snapshot
nps snapshot
nps snapshot

Description rptmaestro 2011-11-16 06:07:37 UTC
Build: NetBeans IDE Dev (Build 201111150600)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

User Comments:
rptmaestro: Trying to use code completion in a pom.xml



Maximum slowness yet reported was 20486 ms, average is 12478
Comment 1 rptmaestro 2011-11-16 06:07:41 UTC
Created attachment 113243 [details]
nps snapshot
Comment 2 mbedward 2011-12-07 06:01:00 UTC
Created attachment 113897 [details]
nps snapshot

Editing pom while nb is transferring maven repository index
Comment 3 artisan 2011-12-14 11:52:36 UTC
Created attachment 114152 [details]
nps snapshot

Code completion - unknown reason why it took so long.

But there's a Maven repositoty index download running. Which is stuck at 1% for some time now.
Comment 4 Milos Kleint 2012-03-21 07:58:42 UTC
in the latest codebase, the index queries are non blocking, so when index for a given repository is being transfered then the repository is skipped and the completion result is marked as incomplete. If the index is missing altogether it's download is triggered.
Comment 5 Jesse Glick 2012-03-26 23:13:04 UTC

*** This bug has been marked as a duplicate of bug 200263 ***