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 196028

Summary: LowPerformance took 22265 ms.
Product: editor Reporter: Emperorlou
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: denyerec, giperon, jiai, jonnybradley, pinheirolouco
Priority: P3 Keywords: PERFORMANCE
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177059
Attachments: nps snapshot
nps snapshot

Description Emperorlou 2011-02-25 21:54:09 UTC
This bug was originally marked as duplicate of bug 183054, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Windows XP

User Comments:
Emperorlou: Just general coding. Typing in the editor window. I'm sure it must have been trying to load  up some code completion or something but it doesn't really matter what i'm typing. Everything works fine, it just locks up once in a while. Locks up completely.



Maximum slowness yet reported was 22265 ms, average is 22265
Comment 1 Emperorlou 2011-02-25 21:54:16 UTC
Created attachment 106462 [details]
nps snapshot
Comment 2 Emperorlou 2011-02-27 18:21:19 UTC
I've had a feeling for a while now that it's the hot code replace feature that causes the slow degradation of responsiveness in the editor. I tend to use this feature a lot. In beta 1 I hadn't used it at all because the Apply Code Changes button would never be enabled for me, i had no significant slowdown issues. Beta 2, I immediately found a way to turn on automatic hot replacement (to get around the fact that Apply Code Changes is still always disabled. And now I get massive slowdowns. Restarting the IDE usually solves the slow issues for a short time.

I could be wrong about beta2's slowness. I only just started using the IDE recently.
Comment 3 denyerec 2011-03-04 12:52:18 UTC
Created attachment 106708 [details]
nps snapshot

Just trying to type normally :(
~ 4000 line file, 8 files open in the project. Argh!
Comment 4 Miloslav Metelka 2011-10-12 12:26:42 UTC
This should no longer occur after 197534 was implemented.

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