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 204796 - 6s - PHPCompletionItem$FunctionElementItem.getInsertPrefix()
Summary: 6s - PHPCompletionItem$FunctionElementItem.getInsertPrefix()
Status: RESOLVED DUPLICATE of bug 205869
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-11-07 19:25 UTC by djdevin
Modified: 2011-12-05 16:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 182668


Attachments
nps snapshot (61.61 KB, application/nps)
2011-11-07 19:25 UTC, djdevin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description djdevin 2011-11-07 19:25:07 UTC
This bug was originally marked as duplicate of bug 179157, 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.1 Beta (Build 201109252201)
VM: OpenJDK 64-Bit Server VM, 20.0-b11, OpenJDK Runtime Environment, 1.6.0_22-b22
OS: Linux

User Comments:
djdevin: autocompleting, large repository



Maximum slowness yet reported was 5965 ms, average is 5965
Comment 1 djdevin 2011-11-07 19:25:12 UTC
Created attachment 112947 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2011-11-14 10:32:13 UTC
One call to org.netbeans.modules.csl.editor.completion.GsfCompletionItem$DelegatedItem.getInsertPrefix() generates 70 calls to org.netbeans.modules.php.editor.PHPCompletionItem$FunctionElementItem.getInsertPrefix()
Comment 3 Ondrej Brejla 2011-11-14 12:20:40 UTC
You have a quite old build, can you test it in the latest development version? [1] We made some changes in that code in the last month. Or can you provide us a project, where the problem occurs? Thanks a lot.

[1] http://bits.netbeans.org/download/trunk/nightly/latest/
Comment 4 Ondrej Brejla 2011-12-05 16:22:25 UTC

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