czukowski commented on issue #6039:
URL: https://github.com/apache/netbeans/issues/6039#issuecomment-1587596787

   @junichi11 it happens with any PHP file from my project, no matter how bit 
or small. Unfortunately I cannot share the project because of an NDA. I am 
currently trying to see if I can reproduce the same issue with any kind of 
large open source project.
   
   As a side note, in the mean time I tried to examine IDE with Process Monitor 
and I noticed a few unexpected things that might affect performance, however it 
is probably unrelated to this specific issue, unless there were some changes 
affecting these parts since NB 17:
   
   - When scanning sources, NetBeans frequently scans directories that belong 
to other projects, even those that are no longer open. It also scans 
directories that are specifically marked as ignored in project properties. In 
my project, some of these ignored directories contain many thousands of PHPStan 
cache files that are in PHP format. I can't tell whether NetBeans ends up 
parsing these files or not, if it does, then it could be a big performance hit.
   - It reads cache files from NetBeans cache directory (eg. `*.fdt`) by 1024 
bytes while some of these are large up to 100 MB. Depending on the 
implementation, the buffer size may or may not make a difference.
   - There are frequent requests for `NotifyChangeDirectory` on a root drive 
`C:\` that might cause NetBeans to receive more file system notifications than 
it needs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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