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 227989 - org.netbeans.core.multiview.MultiViewCloneableTopComponent.getEditorPane: LowPerformance took 28532 ms.
Summary: org.netbeans.core.multiview.MultiViewCloneableTopComponent.getEditorPane: Low...
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-03-27 11:00 UTC by Exceptions Reporter
Modified: 2013-05-22 02:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 199847


Attachments
nps snapshot (106.66 KB, application/nps)
2013-03-27 11:00 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-03-27 11:00:56 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
GUEST: open it



Maximum slowness yet reported was 32854 ms, average is 30693
Comment 1 Exceptions Reporter 2013-03-27 11:00:58 UTC
Created attachment 133126 [details]
nps snapshot
Comment 2 Stanislav Aubrecht 2013-03-27 11:11:52 UTC
Search window opens search result detail by asking for opened editor panes. That may take some time if the editor isn't initialized yet.
Perhaps it might help to call EditorCookie.prepareDocument() in a background thread and only when that task is finished open the actual editor window.
Comment 3 Jaroslav Havlin 2013-05-20 14:36:26 UTC
http://hg.netbeans.org/core-main/rev/92acae28ec28
Fixed. Thank you, Standa.
Comment 4 Quality Engineering 2013-05-22 02:35:14 UTC
Integrated into 'main-golden', will be available in build *201305212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/92acae28ec28
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #227989: 29 s in o.n.core.multiview.MultiViewCloneableTopComponent.getEditorPane