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

Jan Lahoda commented on NETBEANS-238:
-------------------------------------

[~cowwoc] In the last dump, there's a lot of time spent with actions related to 
the debug output, so with the real patch, that could improve. Listing the 
package several times is normal at the current state, as there may be multiple 
cache folder. This patch only prevents listing from caches that are empty 
(which should be most of them). While that's something that could be improved, 
the issue is (as usually) cache invalidation. I've opened a PR, it'd be awesome 
if you could try that. Should hopefully be better than the original prototype.

> 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
>              Labels: pull-request-available
>         Attachments: NETBEANS-238-experiment.diff, 
> SlowCodeCompleteAntAndMaven.zip, code-complete-profiler.npss, 
> code-complete2.npss, messages.log
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
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