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 196927

Summary: 1s at org.netbeans.editor.CustomFoldManager.insertUpdate
Product: ide Reporter: pinheirolouco
Component: PerformanceAssignee: Tomas Hurka <thurka>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alexvsimon, jlahoda, jlsoriam, XVilka
Priority: P3 Keywords: PERFORMANCE
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 168831
Attachments: nps snapshot
nps snapshot

Description pinheirolouco 2011-03-21 15:55:00 UTC
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: Linux

User Comments:
GUEST: formatting c++ document

XVilka: reformatting code of C - about 10k

jlsoriam: I have a file with aproximatelly 2000 lines, and I made clik right button and selected Format option.
This action made that Netbeans works slowly



Maximum slowness yet reported was 11000 ms, average is 6842
Comment 1 pinheirolouco 2011-03-21 15:55:04 UTC
Created attachment 107156 [details]
nps snapshot
Comment 2 Exceptions Reporter 2011-10-05 01:35:50 UTC
Created attachment 111495 [details]
nps snapshot
Comment 3 Svata Dedic 2011-11-04 09:59:36 UTC
(In reply to comment #1)
> Created an attachment (id=107156) [details]
> nps snapshot

815ms out of 860ms spent in folding is in SlowItem.fillInStackTrace

Additional 642ms spent in SlowItem


(In reply to comment #2)
> Created an attachment (id=111495) [details]
> nps snapshot

Shows ~3.8sec in SlowItem.fillInStackTrace
Comment 4 Svata Dedic 2011-11-04 11:52:55 UTC
False positive alarm (IMHO); please consider filtering before alerting the user.
Comment 5 Petr Cyhelsky 2012-06-11 08:08:49 UTC
last report is from 7.1RC2 - doesn't seem to be problem any more, please feel free to reopen if this happens again