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 229839 - org.netbeans.modules.maven.embedder.MavenEmbedder.readProjectWithDependencies: LowPerformance took 92632 ms.
Summary: org.netbeans.modules.maven.embedder.MavenEmbedder.readProjectWithDependencies...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: henk89
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-05-16 09:50 UTC by sreder
Modified: 2013-05-24 02:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200698


Attachments
nps snapshot (661.50 KB, application/nps)
2013-05-16 09:50 UTC, sreder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreder 2013-05-16 09:50:13 UTC
This issue was reported manually by mkleint.
It already has 2 duplicates 


Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20
OS: Windows 7
Maximum slowness yet reported was 92632 ms, average is 73381
Comment 1 sreder 2013-05-16 09:50:19 UTC
Created attachment 134509 [details]
nps snapshot
Comment 2 Milos Kleint 2013-05-16 09:56:46 UTC
debugger should not assume that calling Subprojectprovider.getSubprojects() is a cheap operation.
Comment 3 Martin Entlicher 2013-05-16 14:21:26 UTC
org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointFilter.getChildren() is called on AWT, because asynchronous() returns CURRENT_THREAD.
The problem is caused by original.getChildren(...) call performed in AWT, after grouping of breakpoints based on their project was implemented (see issue #72560).

Is it possible for you to return AsynchronousModelFilter.DEFAULT from asynchronous() method when CALL is CHILDREN?
Comment 4 henk89 2013-05-23 09:28:26 UTC
Fixed in:
http://hg.netbeans.org/cnd-main/rev/15d7eebff15c
Comment 5 Quality Engineering 2013-05-24 02:45:34 UTC
Integrated into 'main-golden', will be available in build *201305232300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/15d7eebff15c
User: Nikolay Koldunov <henk89@netbeans.org>
Log: Fixed #229839 - org.netbeans.modules.maven.embedder.MavenEmbedder.readProjectWithDependencies: LowPerformance took 92632 ms.