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 190246

Summary: 23s in autoupdate.ui.Utilities.makeUpdateCategories() & createVisibleModulesDependecyMap()
Product: platform Reporter: alfbennett
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal CC: cncore, danielsimonjr, esmithbss, exceptions_reporter, facilityderek, fleka, javydreamercsw, jbecicka, jdlee, jrechtacek, KhArtNJava, musilt2, nysander, onman, rweaver, squib, St.Ev, szmitek, williambacchi
Priority: P3 Keywords: API, API_REVIEW_FAST, PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 169936
Attachments: nps snapshot
Profiler snapshot after slowness
Thread dump
proposed api change

Description alfbennett 2010-09-08 20:17:04 UTC
Build: NetBeans IDE 6.9.1 (Build 201007282301)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
esmithbss: Expanding the list of installed plugins.

alfbennett: Trying to load a web service



Maximum slowness yet reported was 30242 ms, average is 21427
Comment 1 alfbennett 2010-09-08 20:17:09 UTC
Created attachment 101950 [details]
nps snapshot
Comment 2 rweaver 2011-05-16 01:54:19 UTC
Created attachment 108305 [details]
Profiler snapshot after slowness
Comment 3 rweaver 2011-05-16 01:57:19 UTC
Thread dump from NB, still running slow Maven repository transfer at 40%
Comment 4 rweaver 2011-05-16 01:57:27 UTC
Created attachment 108306 [details]
Thread dump
Comment 5 Jiri Rechtacek 2012-06-26 10:03:40 UTC
*** Bug 213862 has been marked as a duplicate of this bug. ***
Comment 6 Jiri Rechtacek 2012-10-05 11:17:43 UTC
*** Bug 217623 has been marked as a duplicate of this bug. ***
Comment 7 Jiri Rechtacek 2012-10-29 16:23:36 UTC
Created attachment 126737 [details]
proposed api change

Counting of visible parents in Autoupdate UI is very expensive, finding for visible parents in Autoupdate Services can work smoothly. I proposed to add new methods to UpdateUnit which returns a visible ancestor of UpdateUnit if any. Autoupdate UI will use it instead of complex searching.
Thanks for review.
Comment 8 Jiri Rechtacek 2012-10-29 16:24:38 UTC
Counting of visible parents in Autoupdate UI is very expensive, finding for
visible parents in Autoupdate Services can work smoothly. I proposed to add new
methods to UpdateUnit which returns a visible ancestor of UpdateUnit if any.
Autoupdate UI will use it instead of complex searching.
Thanks for review.
Comment 9 Jiri Rechtacek 2012-11-01 00:22:49 UTC
http://hg.netbeans.org/core-main/rev/14d6d70ddb3f