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