Code completion performace

Hi there,

I have a project with about 40 modules (about 3200 classes) and the code
completion is painfully slow (3-4 seconds for a class name completion
sometimes, even a variable completion takes about 2 seconds most of the
time). I realize that the number of classes and the libraries I have for
each module can put a significant strain on IDEA, but this kind of delay
makes me hesitant to use Ctrl+Space as often as I'd like to.

Are there any plans to improve this before release? I just tried the same
with WSAD (on the same codebase and the same machine) and all the pop-ups
showed up almost instantly. IDEA is noticeably slower, which is a pity.

Regards,
Andrei


9 comments

What build are you using? Performance has only been getting better in the EAP.

0

Keith Lea wrote:

What build are you using? Performance has only been getting better in the
EAP.


I'm on 1131 now (I always use the latest build, unless there's a serious
problem forcing me to go back a build).

I'm not saying it's not getting better, I'm saying it's not good enough.
It's been just recently that I had to integrate my module with a bigger
project and in the new structure the performance kind of sucks. I mean, 2
seconds for a local variable completion is sure to break one's flow, I end
up just typing it, it's faster most of the time.

And my machine isn't a slow one. And even if it was, other IDEs don't have
this problem with the same configuration/project, so I'm sure things can be
improved. I just thought I'd raise the flag, it would be disappointing for
people to have to look elsewhere just because IDEA can't cope with bigger
projects.

Andrei

0

I also see this performance degradation. Some builds before it was much faster. I also use a fair number of modules (about 30), maybe that is the problem?

0

Hi Andrei!

Could you please send us your project or at least project files (ipr and
iml). We don't experience such problems so they are probably caused by
your module dependences structure.

Thanks,
IK
Andrei Oprea wrote:

Keith Lea wrote:

>>What build are you using? Performance has only been getting better in the
>>EAP.


I'm on 1131 now (I always use the latest build, unless there's a serious
problem forcing me to go back a build).

I'm not saying it's not getting better, I'm saying it's not good enough.
It's been just recently that I had to integrate my module with a bigger
project and in the new structure the performance kind of sucks. I mean, 2
seconds for a local variable completion is sure to break one's flow, I end
up just typing it, it's faster most of the time.

And my machine isn't a slow one. And even if it was, other IDEs don't have
this problem with the same configuration/project, so I'm sure things can be
improved. I just thought I'd raise the flag, it would be disappointing for
people to have to look elsewhere just because IDEA can't cope with bigger
projects.

Andrei



--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Hi Igor,

While I can't send you the project (it's quite big and company policy
forbids it), I can tell you that each one of the modules depends on a whole
bunch of third party libraries.

Maybe if you created about 30 modules, with each one of them having lots of
module level libraries (5-10 on average) you could be able to experience
the delays.

Some more information about the structure of the modules: the module I'm
working on (say module A) depends on just another module (module B, which
doesn't have any dependencies). When just those 2 were in the project,
things were quite smooth.

I needed to add the other modules because they started to depend on module A
and we needed to take them into account for refactorings. That's when
performace started to degrade. So it might be just a case of sheer volume of
external libraries.

HTH,
Andrei

"Igor Kuralenok (JetBrains)" <ik@intellij.com> wrote in message
news:bvocvu$bhs$1@is.intellij.net...

Hi Andrei!

>

Could you please send us your project or at least project files (ipr and
iml). We don't experience such problems so they are probably caused by
your module dependences structure.

>

Thanks,
IK



0

Hi Igor,

After playing with it a bit more, I've opened the following tracker issue
http://www.intellij.net/tracker/idea/viewSCR?publicId=28759
See my coments in the bug report, I hope they'll give you something to start
from.

Regards,
Andrei

"Igor Kuralenok (JetBrains)" <ik@intellij.com> wrote in message
news:bvocvu$bhs$1@is.intellij.net...

Hi Andrei!

>

Could you please send us your project or at least project files (ipr and
iml). We don't experience such problems so they are probably caused by
your module dependences structure.

>

Thanks,
IK



0

Hm, interestingly I've noticed a huge slowdown for me in builds 1136/1138. I blamed Apple's JDK 1.4.2 but it might not be the culprit here. Same situation though, where I have about 2500 classes in 16 modules, with 4-5 project libraries, and each module having dependencies on 1-5 other modules. I could send the project files if any of the IDEA guys are intereste or think it'd help.

0

hmm,
it does not happen here .. i don't have 30 modules but i do have more then 4000 classes which are split across 5 modules and one of them is a web module each have their own library and few replicated jars...but no circular dependency here

cheers,
parthi.

0

Hani Suleiman wrote:

if any of the IDEA guys are intereste or think it'd help.

Surely we are.


--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.