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 192775 - Code completion is slow for Zend
Summary: Code completion is slow for Zend
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Other
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-12-02 09:04 UTC by nbphpuser
Modified: 2011-10-03 14:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
first profiler snapshot (138.83 KB, text/plain)
2010-12-02 09:04 UTC, nbphpuser
Details
second profiler snapshot (76.02 KB, text/plain)
2010-12-02 09:06 UTC, nbphpuser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbphpuser 2010-12-02 09:04:32 UTC
Created attachment 103523 [details]
first profiler snapshot

1. created new project in IDE (Zend)
2. started to type in indexAction of ./application/controllers/IndexController.php
3. Typed $client = new Zend
4. Wait time about 10 seconds (see profiler snapshot selfsampler4422867289676158836)
5. Typed additional _ after new Zend
6. Wait time about 8 seconds (see second snapshot selfsampler1069961235593970306)
Comment 1 nbphpuser 2010-12-02 09:06:12 UTC
Created attachment 103524 [details]
second profiler snapshot
Comment 2 nbphpuser 2010-12-02 09:07:14 UTC
Product Version: NetBeans IDE Dev (Build 2010-12-01_09-04-37 )
Java: 1.6.0_22; Java HotSpot(TM) Client VM 17.1-b03
System: Windows 7 version 6.1 running on x86; Cp1252;
Comment 3 nbphpuser 2010-12-06 17:08:52 UTC
Zend is installed in PEAR directory, which is in global include path
Comment 4 nbphpuser 2010-12-06 17:42:01 UTC
Ok. This is the problem. If I put Zend into library folder of a project without including it globally, code completion is fast.
Comment 5 Petr Pisl 2010-12-09 15:21:32 UTC
The issue I have solved yesterday. It looks like issue #193040. You can test it in a latest build from http://bertram.netbeans.org/hudson/job/PHP-build/

Please reopen, if it doesn't work now.

*** This bug has been marked as a duplicate of bug 193040 ***
Comment 6 nbphpuser 2010-12-09 15:51:40 UTC
Tested with

Product Version: NetBeans IDE Dev (Build 2010-12-09_15-04-45 )
Java: 1.6.0_22; Java HotSpot(TM) Client VM 17.1-b03
System: Windows 7 version 6.1 running on x86; Cp1252; de_DE (nb)

CC is still slow, if Zend included via global path
Comment 7 Ondrej Brejla 2011-10-03 14:08:02 UTC
Please, can you test it in NB 7.1? Because it works for me properly and CC is normally fast. If it is still slow for you, please reopen this issue, thanks.