IDEA performance?

I find intellij IDEA to be slow. It can take quite a while for it to synchronize if I edit files using anything besides IDEA. Sometimes while it's trying to look for errors in my code, or garbage collect, or whatever it's trying to do, I can't do anything else. Maybe I have my project setup poorly. I don't want to turn off the little green/red light in the corner, and I find most of the features in IDEA beneficial, but is there any work being done to make IDEA faster and more efficient? I see the notes about work being done for 4.5 and all I see is lists of features. I'm pretty happy with the features at this point, I just want it to run more smoothly and efficiently. I want it to never hang.

Once in a while someone will come to my desk and want to look at a file, and while IDEA thinks, I have to open the file with vim, edit it, and check in the file. When I finish sometimes IDEA is still just thinking. Sometimes for the features it's worth it, but other times I just feel silly. I am using a P4 w/ a half a gig of ram running a recent version of rehat linux. It's not the computer that is at fault, although it may be the user; maybe I have something setup funny, I don't know. I'm using it for a fairly large project, over 1500 classes. Is the size of the project an issue? I've never used IDEA on smaller projects. I would expect that the IDE is written to handle large projects though; why else would someone bother using an IDE?

Either way, I'd love to see more emphasis put on performance rather than features. I think that's the bigest thing IDEA has going for it. The reason I started using IDEA was that I heard it performed better than other IDEs and I couldn't see the point of using an IDE if it was going to be slow. If they continue to add features without focusing on performance it's just going to become another POS IDE.

5 comments
Comment actions Permalink

Hi,
Of course, there is work being done in area of IDEA performance. For
instance, we have been addressing problems with huge XML files (several
Mb), large java files (200k+) and so on. The significant changes in
these areas are expected in IDEA version 5.0.
While the general performance issues are being addressed there are
tricky issues of reproducing of certain user performance problems.
In particular, we will much appreciate if anyone concerned with
performance will create tracker request with detailed description on
steps to reproduce the problem (e.g.
http://www.intellij.net/tracker/idea/viewSCR?publicId=33061).
Community constructive feedback is guaranteed to be used for increasing
performance of the IDEA.

P.S.
IDEA project is ~15.000 classes in ~7.000 files.

Brian wrote:

I find intellij IDEA to be slow. It can take quite a while for it to synchronize if I edit files using anything besides IDEA. Sometimes while it's trying to look for errors in my code, or garbage collect, or whatever it's trying to do, I can't do anything else. Maybe I have my project setup poorly. I don't want to turn off the little green/red light in the corner, and I find most of the features in IDEA beneficial, but is there any work being done to make IDEA faster and more efficient? I see the notes about work being done for 4.5 and all I see is lists of features. I'm pretty happy with the features at this point, I just want it to run more smoothly and efficiently. I want it to never hang.

Once in a while someone will come to my desk and want to look at a file, and while IDEA thinks, I have to open the file with vim, edit it, and check in the file. When I finish sometimes IDEA is still just thinking. Sometimes for the features it's worth it, but other times I just feel silly. I am using a P4 w/ a half a gig of ram running a recent version of rehat linux. It's not the computer that is at fault, although it may be the user; maybe I have something setup funny, I don't know. I'm using it for a fairly large project, over 1500 classes. Is the size of the project an issue? I've never used IDEA on smaller projects. I would expect that the IDE is written to handle large projects though; why else would someone bother using an IDE?

Either way, I'd love to see more emphasis put on performance rather than features. I think that's the bigest thing IDEA has going for it. The reason I started using IDEA was that I heard it performed better than other IDEs and I couldn't see the point of using an IDE if it was going to be slow. If they continue to add features without focusing on performance it's just going to become another POS IDE.

0
Comment actions Permalink

I'm using it for a fairly large project, over 1500
classes. Is the size of the project an issue?


I've yet to see a project with more than 100 classes that couldn't be broken down into two or more smaller projects.

We broke a portal project down into six smaller projects, each with its own CVS store. Each has an ant build script that spits out a ar file.

Since I can link each of the jars to src, there is no need for me to try and manage the whole mess as one project. Or run 650+ JUnit tests.

Actually, I have less that 1/2 of the total source on my system at any time as I only work on two parts of the project and make use or one of the other parts as a dependance.

So yeah, IDEA is slow when you have 1500+ classes. Anything would be slow with that much to parse. The problem isn't that IDEA is slow. The problem is that you have about three or four projects mashed together.

0
Comment actions Permalink

In article <30037564.1089143935270.JavaMail.itn@is.intellij.net>,
Salvatore Denaro <no_mail@jetbrains.com> wrote:

I'm using it for a fairly large project, over 1500
classes. Is the size of the project an issue?


I've yet to see a project with more than 100 classes that couldn't be broken
down into two or more smaller projects.


Every time someone complains about performance, we get this "break it
down" reply.

You are quite right that a project that large can and probably should be
broken down, but that decision is a technical and management decision,
not one to be made by the IDE. If nothing else, you may have to sell
the client, or the manager, or the senior engineer on it, and that takes
time. Until that day comes, IDEA should be snappy.

So yeah, IDEA is slow when you have 1500+ classes. Anything would be slow
with that much to parse. The problem isn't that IDEA is slow. The problem is
that you have about three or four projects mashed together.


Eclipse isn't, at least the last time I checked. CodeWarrior never was.
XCode is snappy. Ant can build the whole thing with jikes in seconds.
IDEA has the advantage of knowing what is related to other classes, so
it should even be faster!

Scot

0
Comment actions Permalink

How many times do you have to explain that to people? Some of us are working
on code that has been around for many years and it takes an act of congress
to change anything. The reason I started using IDEA was because it worked
the way I wanted not like other IDEs that made you work the way they want.
If I have to change my code to work with IDEA I might as well go back to
VisualAge(ugh, the name even makes me sick now).

"Scott Ellsworth" <scott@alodar.com> wrote in message
news:scott-347A32.13071306072004@mail.intellij.net...

In article <30037564.1089143935270.JavaMail.itn@is.intellij.net>,
Salvatore Denaro <no_mail@jetbrains.com> wrote:

>

I'm using it for a fairly large project, over 1500
classes. Is the size of the project an issue?

>

I've yet to see a project with more than 100 classes that couldn't be

broken

down into two or more smaller projects.

>

Every time someone complains about performance, we get this "break it
down" reply.

>

You are quite right that a project that large can and probably should be
broken down, but that decision is a technical and management decision,
not one to be made by the IDE. If nothing else, you may have to sell
the client, or the manager, or the senior engineer on it, and that takes
time. Until that day comes, IDEA should be snappy.

>

So yeah, IDEA is slow when you have 1500+ classes. Anything would be

slow

with that much to parse. The problem isn't that IDEA is slow. The

problem is

that you have about three or four projects mashed together.

>

Eclipse isn't, at least the last time I checked. CodeWarrior never was.
XCode is snappy. Ant can build the whole thing with jikes in seconds.
IDEA has the advantage of knowing what is related to other classes, so
it should even be faster!

>

Scot



0
Comment actions Permalink

Just a note, IDEA does not parse in the background so if you switch away
to another app it will pause the current parse or probably just abort it
altogether. See the discussion at
http://www.intellij.net/forums/thread.jsp?forum=22&thread=49932 and add
your votes to
http://www.intellij.net/tracker/idea/viewSCR?publicId=19682 to get this
issue in an open state at least!

N.

Brian wrote:

Once in a while someone will come to my desk and want to look at a file, and while IDEA thinks, I have to open the file with vim, edit it, and check in the file. When I finish sometimes IDEA is still just thinking.

0

Please sign in to leave a comment.