[ 
https://issues.apache.org/jira/browse/NETBEANS-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gili updated NETBEANS-238:
--------------------------
    Attachment: code-complete2.npss

[~jlahoda] I'm attaching a second IDE profiler dump for your review.

This is running on a patched IDE (using your diff). I went into an existing 
class that implements an interface but did not implement a mandatory method. I 
invoked CTRL+SPACE to get a list of implementable methods and code-complete 
took 12-14 seconds to complete. I reproduced this multiple times by restarting 
the IDE and repeating the steps in the same class. This profiler dump looks 
different in that I cannot figure out who is consuming the time. Please let me 
know if you figure it out.

> 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: NETBEANS-238-experiment.diff, 
> SlowCodeCompleteAntAndMaven.zip, code-complete-profiler.npss, 
> code-complete2.npss, messages.log
>
>
> 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