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 190032 - Code assist is about 10 times slower than in Netbeans 6.8 with the _same_ project
Summary: Code assist is about 10 times slower than in Netbeans 6.8 with the _same_ pro...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-08-31 15:23 UTC by tln
Modified: 2011-06-08 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tln 2010-08-31 15:23:31 UTC
Up to now we've been developing our application (~1100 classes and interfaces) on Netbeans 6.8 being very happy with its performance.

Because of a bug in 6.8 that is no longer present in 6.9.1, we've now switched to Netbeans 6.9.1.

There we're experiencing considerably better overall performance in the editor, especially in the class tree, being very grateful for your continuing work and effort.

However, code assist has become rather slow (on the very same project). It's so slow sometimes that it's effectively useless.

Example:

I type:

use mycl

and hit Ctrl+Space (or I just type and wait a moment - either way)

Netbeans 6.8: Suggestions appear within milliseconds.
Netbeans 6.9.1: Box appears: "Please wait...". Sometimes it just vanishes suggesting nothing after a couple of seconds, sometimes there are suggestions but much later than 6.8 would've suggested them.


Another example:

I type

public function __construct(mycla

and hit Ctrl+Space to get the type hint completed. Again, I'm used to a very prompt result from 6.8 while Netbeans 6.9.1 is taking so long that I could've finished myself several times in the meanwhile.


To be more precise, I just timed the same suggestion:

Netbeans 6.8: hard to tell exactly, about 500 ms
Netbeans 6.8.1: 7 seconds

This is the typical case, not an exception.



Even very simple activities that do not require any knowledge of class hierarchies etc. like

namespace com\mycompany\

and hitting Ctrl+Space to get a list of next namespace levels require that long.



Another piece of information that might be helpful with identifying the source of the problem is the following: Also the initial scanning of the project has slowed down by factor 10 or so.

Netbeans 6.8: ~30 seconds
Netbeans 6.9.1: >5 minutes
Comment 1 Filip Zamboj 2010-09-15 12:33:16 UTC
batch reassigning
Comment 2 Marian Mirilovic 2011-05-18 20:49:06 UTC
Do you have some data for NB 7.0 ?
Comment 3 Tomas Mysik 2011-06-08 12:40:34 UTC
Please evaluate, thanks.

@reporter: It would be perfect if we could have a sample project so we are able to reproduce the issue.

Thanks.
Comment 4 Petr Pisl 2011-06-08 12:57:47 UTC
The bulk of the things that are reported in this issue are already fixed. I'm not sure about the first case. It would be great if you can try it in NB 7.0 and if it still slow for you, provide the snapshot. 

I'm marking this as fixed. For now.