This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182929 - [69cat] IDE sluggish
Summary: [69cat] IDE sluggish
Status: RESOLVED DUPLICATE of bug 183373
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords: PERFORMANCE
: 182930 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-26 16:05 UTC by Chiana
Modified: 2010-04-06 14:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump when IDE is lazy (5.57 KB, application/octet-stream)
2010-03-29 13:25 UTC, Chiana
Details
Dump when typing (51.25 KB, application/octet-stream)
2010-03-31 09:58 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2010-03-26 16:05:52 UTC
Product Version = NetBeans IDE Dev (Build 201003260201)
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.6.0_16
Runtime = Java HotSpot(TM) Client VM 14.2-b01

IDE is sluggish and unresponsive, I often have to wait while typing for the IDE to catch up. 
First experienced in this version (201003260201)
Comment 1 Chiana 2010-03-26 16:21:12 UTC
*** Bug 182930 has been marked as a duplicate of this bug. ***
Comment 2 Peter Pis 2010-03-29 09:32:51 UTC
Could you please take and attach thread dump while running into this issue?

http://wiki.netbeans.org/GenerateThreadDump
Comment 3 Chiana 2010-03-29 13:25:59 UTC
Created attachment 96199 [details]
Thread dump when IDE is lazy

Hope this is what you need, I've checked and this behavior seems to first arise in 20100324, versions prior do not have this sluggishess...
Comment 4 Tomas Pavek 2010-03-30 15:07:45 UTC
The attached snapshot shows the IDE was idle, doing nothing.

> I often have to wait while typing for the IDE to catch up.

If you can reproduce this, try to create a snapshot during typing. E.g. start the sampling, then do typing, and if you could see the IDE not able to keep up significantly then finish the snapshot and attach here. Thanks.
Comment 5 Chiana 2010-03-31 09:58:40 UTC
Created attachment 96408 [details]
Dump when typing

Hopefully you can use this.
I suspect the problem is with updating the view not the inputs.
Comment 6 Jaroslav Tulach 2010-03-31 11:33:24 UTC
All I can see in the nps file is editor related.
Comment 7 Chiana 2010-03-31 13:00:08 UTC
(In reply to comment #6)
> All I can see in the nps file is editor related.

As I suspected, this is probable caused by slow updating of the gui. As I recall, correct me if I'm wrong, there was a major rewrite in the handling of gui updates with version 20100324 & 0325, is it possible that that can be the cause of this?

As far as I can tell it does not miss any keystrokes, it's just plain annoying to have to wait for the last 10-15 keystrokes to show up on the display...

A simple clarification of what I mean.

If I type;
private void testForSpaces(String content) {

I can see on the screen

private void testForSpaces(S

when I type the "{" and it takes about half a second, sometimes more, to finish the line.
Comment 8 Jan Lahoda 2010-04-06 14:40:50 UTC
The new view hierarchy is not yet performance fine-tuned, covered by bug #183373. Thanks for the report.

*** This bug has been marked as a duplicate of bug 183373 ***