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 - CodeCompletion took 20486 ms.
Summary: CodeCompletion took 20486 ms.
Status: RESOLVED DUPLICATE of bug 200263
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-11-16 06:07 UTC by rptmaestro
Modified: 2012-03-26 23:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182947


Attachments
nps snapshot (36.52 KB, application/nps)
2011-11-16 06:07 UTC, rptmaestro
Details
nps snapshot (81.24 KB, application/nps)
2011-12-07 06:01 UTC, mbedward
Details
nps snapshot (23.91 KB, application/nps)
2011-12-14 11:52 UTC, artisan
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***