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.

Bug 213472

Summary: 4.7s - code completion in php
Product: php Reporter: david.zapata
Component: ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 188910
Attachments: nps snapshot

Description david.zapata 2012-06-04 03:58:43 UTC
This bug was originally marked as duplicate of bug 197270, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows 7
Maximum slowness yet reported was 4769 ms, average is 4769
Comment 1 david.zapata 2012-06-04 03:58:50 UTC
Created attachment 120270 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-06-04 07:56:02 UTC
One call org.netbeans.modules.editor.completion.CompletionImpl$7.run()	100.0	4 637 ms (100%)	4 637 ms	1
leads to many calls to org.netbeans.modules.php.project.api.PhpSourcePath.getFileType()	52.645817	2 441 ms (52,6%)	2 441 ms	108
Comment 3 Ondrej Brejla 2012-06-04 08:22:32 UTC
Reassigning.
Comment 4 Tomas Mysik 2012-06-04 09:08:30 UTC

*** This bug has been marked as a duplicate of bug 211622 ***