Matěj Kmínek created NETBEANS-4730: --------------------------------------
Summary: Code completion is very slow on larger PHP projects Key: NETBEANS-4730 URL: https://issues.apache.org/jira/browse/NETBEANS-4730 Project: NetBeans Issue Type: Bug Components: php - Code Analysis Affects Versions: 11.2, 12.0 Environment: Windows 10 64bit 20GB RAM (NB peak is usually around 2GB) Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (4 phys cores, 8 logical) Reporter: Matěj Kmínek Attachments: netbeans_stuck.nps I'm currently working on PHP project. Project is composed using composer, using our subgit modules. Currently we have around 70 modules in the project. Each module consists from up to 15 php classes. Code Completion got already very slow with such amount of files. It takes me up to 13-20 secs to invoke code completion to see list of some object methods (including $this-> , which I guess could be extremely fast). Steps taken to try to fasten up a bit: * Removed project folder from Window Defender scanner - problem persisted with no noticeable speedup * Disabled Windows Defender completely - problem persisted with no noticeable speedup * Updated from NB 11.2 to 12.0 - problem persisted with no noticeable speedup * Changed Java SDK from 12.0.1 to 14.0.2 * Tried set max heap memory limit to 4GB - problem persisted with no noticeable speedup Invocation of code completion popup rises processor usage from <10% to around 50%. Also, increased memory usage to about 2GB. As the system I am writing is proprietary, I cant simply send the source code. However we can definitely arrange some online screensharing using Skype / Hangouts, or VNC to online test. Attaching snapshot of one code completion invocation. During searching the issues, I found out there could be a problem with some native windows related file listing functions - perhaps the problem lies there? But I tried another IDEs, which works flawlessly on this big project, so they either use some different functions or there could be truly a bug in NB. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists