Mac OS X Panther + IntelliJ 4 -> Speed/Window Activation

Elo,

Firstly - I think IntelliJ (from a functionality perspective) is one of the best Java apps ever. However, I have two concerns with the latest version on the Mac platform.

Firstly, it is SLOW. It kills my G5 1.8GHz with 1.5GB RAM. I see that as a serious machine - any application (especially an IDE) should not be able to bring it to it's knees. For example - typing an unknown method's name as a call, and then pressing "Ctrl+Enter" to create that method takes about 3 seconds if it has say 4 arguments. That is completely unacceptable.

Secondly, if I press Ctrl+Enter on some actions, sometimes (mostly) the window focus is lost - i.e. IntelliJ's window does not have the focus anymore. This is seriously annoying since I have to use the mouse to click on it to make the window active again. Also, Command + ` does not switch between frames anymore. Both these issues were not present with IntelliJ 3.0.5.

Any ideas for improvement?

Waldo

6 comments

In article <25312205.1077696855875.JavaMail.itn@is.intellij.net>,
Waldo Nell <no_mail@jetbrains.com> wrote:

Firstly - I think IntelliJ (from a functionality perspective) is one of the
best Java apps ever. However, I have two concerns with the latest version on
the Mac platform.

>

Firstly, it is SLOW. It kills my G5 1.8GHz with 1.5GB RAM. I see that as a
serious machine - any application (especially an IDE) should not be able to
bring it to it's knees. For example - typing an unknown method's name as a
call, and then pressing "Ctrl+Enter" to create that method takes about 3
seconds if it has say 4 arguments. That is completely unacceptable.


I have a dual 1.25 GHz G4 w/ 1.25 GB RAM and I don't have those speed
problems. It does seem to have slowed down a bit since the EAP releases
from a couple months ago, but it is relatively fast for me. (My project
has ~3000 classes, so it's not huge but it's not tiny either.)

I don't know why yours might be slow, but be aware that it's not that
slow for everyone.

Secondly, if I press Ctrl+Enter on some actions, sometimes (mostly) the
window focus is lost - i.e. IntelliJ's window does not have the focus
anymore. This is seriously annoying since I have to use the mouse to click
on it to make the window active again. Also, Command + ` does not switch
between frames anymore. Both these issues were not present with IntelliJ
3.0.5.


The only time IDEA's window loses focus for me is when I have undocked
windows. So I gave up and just leave all my windows docked. It's too bad
because it means I can't make use of my second monitor, but the IntelliJ
folks say it's Apple's fault.


--
Erik Hanson

0

I have one observation that might help. Java really seems to be much faster on dual processor machines than single processor machines. I have seen this on PC as well as Macs. Idea was fine on my dual 1.25. It really flies on my dual 2.0 G5!

0

It is good to hear that it is so much faster on a dual processor machine - but I still do have a problem with the fact that a machine capable of 1.8 GHz clock speeds suffers from running IntelliJ.

Try to do this:

someWeirdMethod(Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, Param9 )

Press Command+Enter (whatever you assigned to that action) to let IntelliJ write the method declaration. That in itself is not so slow - takes about 1-2 seconds. BUT try now to move the text cursor to the left and right on that line - sometimes I have to wait up to 4 seconds before I can move the text cursor. The CPU goes 100% and everything slows down to a grinding halt. What is so difficult in the code that it have difficulties doing a simple move left/right operation on the cursor?

My 486 SX 25, 2MB RAM did it way faster :) Maybe I am just used to write optimized code, but that is unexplanable to me. I understand things like refactoring might be slow as it has to parse potentially thousands of class files (or the index) - but basic cursor movement should never be slow. That makes an editor unusable.

Waldo

0

In article <30710230.1077866720483.JavaMail.javamailuser@localhost>,
Waldo Nell <no_mail@jetbrains.com> wrote:

Try to do this:

someWeirdMethod(Param1, Param2, Param3, Param4, Param5, Param6, Param7,
Param8, Param9 )

Press Command+Enter (whatever you assigned to that action) to let IntelliJ
write the method declaration. That in itself is not so slow - takes about
1-2 seconds. BUT try now to move the text cursor to the left and right on
that line - sometimes I have to wait up to 4 seconds before I can move the
text cursor. The CPU goes 100% and everything slows down to a grinding halt.
What is so difficult in the code that it have difficulties doing a simple
move left/right operation on the cursor?


Just a data point: I don't see that problem on my computer (dual G4).


--
Erik Hanson

0

Tested it just now again - same problem. The moment the red blocks (those allowing you to fix up the names) disappears, there is no speed issue anymore. It is just as long as those red blocks are highlighting the tokens.

Waldo

0

Please sign in to leave a comment.