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 210704 - LowPerformance took 7069 ms.
Summary: LowPerformance took 7069 ms.
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-04-04 13:59 UTC by aldobrucale
Modified: 2012-04-07 10:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186658


Attachments
nps snapshot (21.53 KB, application/nps)
2012-04-04 13:59 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2012-04-04 13:59:53 UTC
This bug was originally marked as duplicate of bug 181850, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201204030400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
aldobrucale: Code completion in xml



Maximum slowness yet reported was 7069 ms, average is 7069
Comment 1 aldobrucale 2012-04-04 13:59:57 UTC
Created attachment 117815 [details]
nps snapshot
Comment 2 Dusan Balek 2012-04-05 08:55:24 UTC
The problem is that SpringXMLConfigCompletionDoc$JavaElementDoc.getText() waits in EDT for slow HttpURConnection to return text of the corresponding Javadoc. For example solution of this problem see org.netbeans.modules.editor.java.JavaCompletionDoc.getFutureText() and its usages.
Comment 3 Martin Fousek 2012-04-06 12:59:16 UTC
Fixed in web-main #8d33cf02abbb.
Comment 4 Quality Engineering 2012-04-07 10:09:35 UTC
Integrated into 'main-golden', will be available in build *201204070400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8d33cf02abbb
User: Martin Fousek <marfous@netbeans.org>
Log: #210704 - LowPerformance took 7069 ms.