Still Seeing Slow JSP Editing

I am running 5.1 build #4155 and am seeing slow JSP editing performance. I found a number of threads related to this and was wondering if anyone else is still having this issue?

I see sluggish editor performance on a number of JSP files, one in particular is mostly HTML with two JSP includes (common header and footer nothing complex) and around 500 lines. Basically, what has been reported before. When hitting return, there is a noticeable delay before a new line is inserted. If I say hit return five or six times in rapid succession, one new line is inserted followed by IDEA sort of freezing for a few seconds and then catching up with the other new lines.

I have Hector looking the other way with all highlight options off.

As a test I took 690 line HTML file and opened it. Performance was acceptable. I renamed it as a JSP file, opened it and found the editor sluggish once more.

Before you ask, I am running Solaris x86 on a dual Opteron with 4GB of RAM. A CPU profile is not possible on this OS as IDEA will not start with this enabled.

4 comments

Certainly seeing it here, but to be honest jsp editing has been
appallingly slow since I upgraded from 4.5. I guess I've just started
getting used to it.

Guy

Matthew Montgomery wrote:

I am running 5.1 build #4155 and am seeing slow JSP editing performance. I found a number of threads related to this and was wondering if anyone else is still having this issue?

I see sluggish editor performance on a number of JSP files, one in particular is mostly HTML with two JSP includes (common header and footer nothing complex) and around 500 lines. Basically, what has been reported before. When hitting return, there is a noticeable delay before a new line is inserted. If I say hit return five or six times in rapid succession, one new line is inserted followed by IDEA sort of freezing for a few seconds and then catching up with the other new lines.

I have Hector looking the other way with all highlight options off.

As a test I took 690 line HTML file and opened it. Performance was acceptable. I renamed it as a JSP file, opened it and found the editor sluggish once more.

Before you ask, I am running Solaris x86 on a dual Opteron with 4GB of RAM. A CPU profile is not possible on this OS as IDEA will not start with this enabled.

0

for me any complex JSP page consisting of many custom tags and lots of JS is slow. I wonder if disabling JS-support would help, but I can't afford turning this off :)

0

My more complicated JSP pages (custom tags, expression language) seem fine. These are typically smaller in terms of lines. One it particular is 183 lines and performs well enough will all highlighting on.

I copied the bulk of this file until it was over 1000 lines and performance was still OK. Certainly slower than before, but no were near as bad as the 500 line "simple" JSP file.

--
Matthew

0

I also continue to see delays when doing simple text oeprations. I mentioned this in the JSP Feedback document I wrote awhile back (http://www.intellij.net/forums/thread.jsp?forum=22&thread=190614)

There is a consistent delay when I hit RETURN or hit BACKSPACE that delets the current line. About half a second delay. Sometimes, when doing cut & paste operations, the delay will be more, a couple of seconds.
These are in JSP file with < 1000 lines and most have one include.

I like your example of taking a plain HTML file and renaming it as a JSP file. That really shows the difference. When I edit plain HTML files, hitting RETURN or BAKCSPACE or COPY/PASTE text opeations are almost instantaneous. Why should it be so sluggish when you rename it to be a JSP file? I hope Jetbrains can look into this; Text editing responsiveness is veyr important.

One thing you should check if you are having performance problems, is whether IDEA is clos to its make heap memory, because that will cause it to slow down. For my project, I need more thant the default size, and since each time I install an EAP, my changes to idea.exe.vmoptions are not transferred automatically along with my other settings, if I forget to update idea.exe.vmoptions, then IDEA will start to act sluggish.

0

Please sign in to leave a comment.