Serious slowdown in 1151

After upgrading to 1151, I'm seeing serious delays in some ordinary tasks. Just asking IDEA to add an import statement from an intention -- instantaneous in 1147 -- now takes about 10 seconds. I cleaned out my caches, but am using an older project file... I suppose I'll try to rebuild that next. Is anyone else seeing this behavior?


This thread seems to be the culprit:

"AWT-EventQueue-1" prio=7 tid=0x03153b40 nid=0x760 waiting on condition
at java.lang.StringBuffer.expandCapacity(StringBuffer.java:202)
at java.lang.StringBuffer.append(StringBuffer.java:498)
- locked (a java.lang.StringBuffer) at com.intellij.psi.impl.source.a.s.getValue(s.java:218) at com.intellij.j2ee.c.z.a(z.java:157) at com.intellij.j2ee.c.n$1.run(n$1.java:5) at com.intellij.openapi.application.a.b.runWriteAction(b.java:258) at com.intellij.j2ee.c.n$0.run(n$0.java:3) at com.intellij.openapi.command.impl.a.executeCommand(a.java:94) at com.intellij.j2ee.c.n.a(n.java:11) at com.intellij.j2ee.c.n.access$600(n.java:17) at com.intellij.j2ee.c.n$2.run(n$2.java) at com.intellij.openapi.application.LaterInvocator$FlushQueue.run(LaterInvocator.java:4) - locked <0x11059420>]]> (a java.lang.Object)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.q.b(q.java:64)
at com.intellij.ide.q.a(q.java:136)
at com.intellij.ide.q.dispatchEvent(q.java:55)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

7 comments

Rebuilding the project didn't fix the problem. I've downgraded to 1147... hopefully the next build won't hate my code quite as much.

0

I have experienced the exact same problem with 1151 and 1154. Overall responsiveness was slow, but the real killer was the "create method" intention: IDEA went into a spin-lock. I have gone back to using 1147 for now.

0

I agree, it definitely seems slow doing normal tasks like editing lines
and waiting for completion. It's not usable, just noticeably slower
than previous builds. My 2 cents.

Nick.

Ryan Scharer wrote:

After upgrading to 1151, I'm seeing serious delays in some ordinary tasks. Just asking IDEA to add an import statement from an intention -- instantaneous in 1147 -- now takes about 10 seconds. I cleaned out my caches, but am using an older project file... I suppose I'll try to rebuild that next. Is anyone else seeing this behavior?


This thread seems to be the culprit:

"AWT-EventQueue-1" prio=7 tid=0x03153b40 nid=0x760 waiting on condition
at java.lang.StringBuffer.expandCapacity(StringBuffer.java:202)
at java.lang.StringBuffer.append(StringBuffer.java:498)
- locked <0x105cfe80> (a java.lang.StringBuffer)
at com.intellij.psi.impl.source.a.s.getValue(s.java:218)
at com.intellij.j2ee.c.z.a(z.java:157)
at com.intellij.j2ee.c.n$1.run(n$1.java:5)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:258)
at com.intellij.j2ee.c.n$0.run(n$0.java:3)
at com.intellij.openapi.command.impl.a.executeCommand(a.java:94)
at com.intellij.j2ee.c.n.a(n.java:11)
at com.intellij.j2ee.c.n.access$600(n.java:17)
at com.intellij.j2ee.c.n$2.run(n$2.java)
at com.intellij.openapi.application.LaterInvocator$FlushQueue.run(LaterInvocator.java:4)
- locked <0x11059420> (a java.lang.Object)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.q.b(q.java:64)
at com.intellij.ide.q.a(q.java:136)
at com.intellij.ide.q.dispatchEvent(q.java:55)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0

On 2/10/04 9:33 PM, in article
1614186.1076438008875.JavaMail.itn@is.intellij.net, "Ryan Scharer"
<rscharer@wesleyan.edu> wrote:

After upgrading to 1151, I'm seeing serious delays in some ordinary tasks.
Just asking IDEA to add an import statement from an intention -- instantaneous
in 1147 -- now takes about 10 seconds. I cleaned out my caches, but am using
an older project file... I suppose I'll try to rebuild that next. Is anyone
else seeing this behavior?


This thread seems to be the culprit:

"AWT-EventQueue-1" prio=7 tid=0x03153b40 nid=0x760 waiting on condition

at java.lang.StringBuffer.expandCapacity(StringBuffer.java:202)
at java.lang.StringBuffer.append(StringBuffer.java:498)
- locked <0x105cfe80> (a java.lang.StringBuffer)
at com.intellij.psi.impl.source.a.s.getValue(s.java:218)
at com.intellij.j2ee.c.z.a(z.java:157)
at com.intellij.j2ee.c.n$1.run(n$1.java:5)
at com.intellij.openapi.application.a.b.runWriteAction(b.java:258)
at com.intellij.j2ee.c.n$0.run(n$0.java:3)
at com.intellij.openapi.command.impl.a.executeCommand(a.java:94)
at com.intellij.j2ee.c.n.a(n.java:11)
at com.intellij.j2ee.c.n.access$600(n.java:17)
at com.intellij.j2ee.c.n$2.run(n$2.java)
at
com.intellij.openapi.application.LaterInvocator$FlushQueue.run(LaterInvocator.
java:4)
- locked <0x11059420> (a java.lang.Object)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.q.b(q.java:64)
at com.intellij.ide.q.a(q.java:136)
at com.intellij.ide.q.dispatchEvent(q.java:55)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java
:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:1
51)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Fixed in 1156
--
Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Maxim Shafirov (JetBrains) wrote:

Fixed in 1156

I wouldn't say it was actually. 1156 is pretty sluggish compared to
builds before 1151. What's gone in to make the editor response time
increase?

Nick.

0

Nick Atkins wrote:

Maxim Shafirov (JetBrains) wrote:

>> Fixed in 1156


I wouldn't say it was actually. 1156 is pretty sluggish compared to
builds before 1151. What's gone in to make the editor response time
increase?

Nick.


There were some additional fixes made in 1159 which is being built right
now. Please state loudly if slowdowns still presist there. Thanks in
advance.

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

0

1159 is definitely faster than the 3 previous EAP's but is still a touch slower than 1147. I notice this primarly on the intellisense popups.

0

Please sign in to leave a comment.