You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Anthony Vanelverdinghe (JIRA)" <ji...@apache.org> on 2019/05/06 08:31:00 UTC
[jira] [Created] (NETBEANS-2507) Slow Java code completion
Anthony Vanelverdinghe created NETBEANS-2507:
------------------------------------------------
Summary: Slow Java code completion
Key: NETBEANS-2507
URL: https://issues.apache.org/jira/browse/NETBEANS-2507
Project: NetBeans
Issue Type: Bug
Reporter: Anthony Vanelverdinghe
Attachments: selfsampler.npss
There are serious issues with code completion in recent NetBeans versions. Attached is a profiling snapshot: all I did was triggering autocompletion at "java.nio.file.Files.<cursor>"
Of the 2 "Code Completion" threads with the most CPU time:
* one spends over 9 seconds in [FastJar::list|https://github.com/apache/netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/FastJar.java#L154]
* the other involves a call to org.netbeans.modules.j2ee.persistence.editor.completion.JPACodeCompletionProvider$JPACodeCompletionQuery.query () even though the code completion had nothing to do with JPA and neither the project nor the class use JPA
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists