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.
Reproduced in build080417 not reproducible in build080415. Open attached file place cursor; After <?php and press ctrl + space; When Code Completion list appears press space. Wait for 10 seconds while new Code Completion list appears. Probably this bug appears after implementing of sorting in CC list.
Created attachment 60346 [details] Sample
Hi Tomasz, Petr P says you are looking at this?
I was run the code completion under profiler and it looks like method isSmart in PHPCompletionItem is called 74512 times and it takes almost 5 seconds. I will attach the screenshot.
Created attachment 60365 [details] The screenshot from profiler
The regression was introduced by my change to show the locally defined stuff first, I can always roll it back... I am looking into it now
Fixed without sacrificing any functionality. http://hg.netbeans.org/release61-php/rev/22b24e79da89 http://hg.netbeans.org/release61-php/rev/3015add9c869