[ 
https://issues.apache.org/jira/browse/NETBEANS-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308627#comment-16308627
 ] 

Gili commented on NETBEANS-238:
-------------------------------

> FYI, for me the code completion in SlowCodecompleteMaven is instantaneous.

Interesting. I did my best to keep my test environment as vanilla as possible. 
My exact repro steps are as follows:

1. Delete or rename C:\Users\Gili\AppData\Roaming\NetBeans\dev
2. Delete or rename C:\Users\Gili\.m2
3. Launch Apache Netbeans build 152
4. Install nb-javac, restart IDE.
5. Agree to allowing anonymous usage data.
6. Open SlowCodeCompleteMaven. Open {{MyClass}}.
7. Wait for CPU usage to hit 0%.
8. Invoke code-complete.

Are you doing the same? Are you able to bring your environment as close as 
possible to mine (running under Windows, under the same JDK)?

My network connection is 25/10 Mbps and is idle at the moment of testing. 
Enabling the maven.search.remote plugin did not make a difference.

> Invoking code-complete in Maven projects is extremely slow
> ----------------------------------------------------------
>
>                 Key: NETBEANS-238
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-238
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Editor
>    Affects Versions: 9.0
>         Environment: build 152
>            Reporter: Gili
>            Priority: Critical
>         Attachments: SlowCodeCompleteAntAndMaven.zip
>
>
> Say I'm in a class that has a field {{singletonScope}} where this class is 
> defined within the same Maven module.
> I type {{singletonScope.}} then wait for auto-complete to suggest possible 
> methods. Code-complete takes roughly 10 seconds to come back.
> This is reproducible 100% of the time.
> Expected behavior: Code-complete should complete within 300ms or less.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to