7002: Bad editor performance

I'm getting pauses for 3-5 seconds while typing in the editor for a 2000-line Java file. It seems to be related to inspections. I tried cutting down on the number of inspections in the profile, but it has had no effect.

This is making editing very painful :(

Edit: Seems like there are a lot of temporary objects being allocated. While editing, my memory indicator shoots up from 80M to 150m and then back down. Some of the pauses are probably garbage collection but other pauses are still occurring before the memory indicator reaches maximum. During these pauses, my CPU usage is at 100%.

I'm capturing a CPU snapshot. Uploading shortly.

15 comments

+1

SLED 10
Intel Pentium 4 D
2GB Ram

0

Hello Gordon,

I'm getting pauses for 3-5 seconds while typing in the editor for a
2000-line Java file. It seems to be related to inspections. I tried
cutting down on the number of inspections in the profile, but it has
had no effect.

This is making editing very painful :(


CPU snapshot?

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

7002_GTyler_06.06.2007_12.46.32.zip uploaded.

0

Same issue here with slow editor performance in Java files. CPU seems to spike even on minor edits.

Windows XP
Dual core cpu
build 7002 exe

0

Yes, I abandoned this build almost immediately. The editor hung and memory usage was 350M+ (with an mx setting of 192).

0

+1 MacOSX (MacBookPro/2GB mem) big memory usage and more cpu usage, than previous build.

0

Hello Gordon,

I see 4 ms from i18nplugin, and project save on fram deactivation. All other
activities are performed in threads other than Swing.

We will try to nail down the problem.

Thank you.

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

7002_GTyler_06.06.2007_12.46.32.zip uploaded.



0

#7002 felt a lot slower for me overall too... I think it might be down
to memory issues - Mem-meter appears to increase quickly and gc a lot.

Cheers,
N.

Anna Kozlova wrote:

Hello Gordon,

I see 4 ms from i18nplugin, and project save on fram deactivation. All
other activities are performed in threads other than Swing.
We will try to nail down the problem.

Thank you.

---------------------
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

>> 7002_GTyler_06.06.2007_12.46.32.zip uploaded.
>>


0

I18nPlugin is a plugin I wrote to support i18nization of log messages for our in-house logging system. It implements some inspections and scans the Java file for log messages but I haven't had a problem with it before. Is 4ms a lot?

Would you like another CPU snapshot without the I18nPlugin loaded?

0

Hello Gordon,

I18nPlugin is a plugin I wrote to support i18nization of log messages
for our in-house logging system. It implements some inspections and
scans the Java file for log messages but I haven't had a problem with
it before. Is 4ms a lot?


4s from 15s in UI thread. 250s in other threads.

Would you like another CPU snapshot without the I18nPlugin loaded?


No thank you. We feel the same pain ourselves ;(

Thank you.

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"


0

4s from 15s in UI thread. 250s in other threads.


Hmm that doesn't look good. I'll have to request some advice in the OpenAPI forum on the right way to implement what I want to do.

0

Sorry, but it's too painful. I've reverted back to #6981 :(

0

+1

Extremely slow on big files, even if switching "highlighting level" to syntax only (thus, without inspections).

Francesco

0

Using Milestone 1a and I experience the same as well.

0

Please sign in to leave a comment.