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 210435 - LowPerformance took 31191 ms.
Summary: LowPerformance took 31191 ms.
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-03-30 13:41 UTC by Exceptions Reporter
Modified: 2012-04-26 10:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185091


Attachments
nps snapshot (278.49 KB, application/nps)
2012-03-30 13:42 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-03-30 13:41:59 UTC
Build: NetBeans IDE 7.1.1 (Build 201203012225)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Linux

User Comments:
GUEST: When I press CTRL+click in @Override annotation to view original method in parent class.

javydreamercsw: Opening/editing/saving a persistence file is really slow.



Maximum slowness yet reported was 31191 ms, average is 16712
Comment 1 Exceptions Reporter 2012-03-30 13:42:16 UTC
Created attachment 117546 [details]
nps snapshot
Comment 2 Stanislav Aubrecht 2012-04-19 12:30:48 UTC
GlyphGutter.GutterMouseListener is accessing Java sources in EDT
Comment 3 Stanislav Aubrecht 2012-04-19 12:31:10 UTC
(Please reassign if I picked wrong component)
Comment 4 Quality Engineering 2012-04-26 10:30:25 UTC
Integrated into 'main-golden', will be available in build *201204260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a3210ffac3ee
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #210435: run the whole ElementOpen.open off EDT not only the position computation, improving cancalability, including BinaryElementOpen.
Comment 5 Jan Lahoda 2012-04-26 10:57:48 UTC
Fixed by not blocking AWT thread and making the process faster:
http://hg.netbeans.org/jet-main/rev/612548f72683
http://hg.netbeans.org/main-golden/rev/a3210ffac3ee