This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 237174, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201311080001) VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30 OS: Linux User Comments: jerry.lindahl: Opened a PHP file in Files explorer. File is part of a pretty large project. 100% cpu usage while being frozen. Happens often and is why I tried the development version. Can also happen when:ctrl click on function name, find usages or using other features that do some sort of project scannning. Maximum slowness yet reported was 72521 ms, average is 72521
Created attachment 142061 [details] nps snapshot
Method de.foopara.phpcsmd.generics.GenericAnnotationBuilder.annotateLine() calls LineCookie.getLineSet().getLines().size(), which is quite slow, in EDT. I'm not sure it can be fixed in openide.text (see bug 223634), but it can be probably fixed in the plugin (if LineSet is processed in a background thread). Reassigning to owner to the plugin. Please evaluate it. Thank you.
Thanks for the report. I will add this "Bug" to the official GitHub Repo (as soon it is available). https://github.com/vralfy/phpcsmd/issues You are welcome to contibute your solutions there.
GitHub issue: https://github.com/vralfy/phpcsmd/issues/34
*** Bug 239272 has been marked as a duplicate of this bug. ***
*** Bug 243471 has been marked as a duplicate of this bug. ***
*** Bug 245584 has been marked as a duplicate of this bug. ***