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 issue was reported manually by KhArtNJava. It already has 1 duplicates Build: NetBeans IDE Dev (Build 201203100400) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: KhArtNJava: php code editing KhArtNJava: on php code editing Maximum slowness yet reported was 25091 ms, average is 15841
Created attachment 116542 [details] nps snapshot
I think, that it doesn't hangs in PHP CC, it seems quite OK for me...but maybe something strange in Parsing API? Tomasi, what do you think?
There is a problem with FileSystem's recursive listener. It's not multi threaded and it takes ages, I think I am able to eliminate this call for code completion thread.
The funny thing is that the slow FileUtil.addRecursiveListener does file crawling. The issue is reported on Win32 and XNU where it's in fact not needed as the OS provides recursive file events.
As I am not able to do anything with the FileUtil.addRecursiveListener I at least removed the need to call it. It still may slow the code completion a bit when called concurrently to code completion but it does not block it. Fixed jet-main b7ebd545328a