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 186684 - expensive HierarchyFactory.buildTypeHierarchyModel call in EDT
Summary: expensive HierarchyFactory.buildTypeHierarchyModel call in EDT
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-05-25 16:23 UTC by Alexander Simon
Modified: 2010-10-29 03:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170029


Attachments
nps snapshot (190.29 KB, application/nps)
2010-05-25 16:25 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2010-05-25 16:23:27 UTC
Build: NetBeans IDE Dev (Build 100525-9004d7bb1730)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: SunOS

User Comments:
GUEST: starting netbeans



Maximum slowness yet reported was 413031 ms, average is 141201
Comment 1 Alexander Simon 2010-05-25 16:25:06 UTC
Created attachment 99449 [details]
nps snapshot
Comment 2 Alexander Simon 2010-05-26 09:00:23 UTC
I see two different issues:
- slowness in type hierarchy (report 393748)
- slowness in class view (reports 392750 and 393002)

Fix for slowness in type hierarchy:
http://hg.netbeans.org/cnd-main/rev/65fa67fdcda2
Comment 3 Leonid Lenyashin 2010-05-26 09:04:09 UTC
Is this an issue for 6.9?
Comment 4 Alexander Pepin 2010-05-26 10:23:15 UTC
Performance tests report no regression in ClassView for middle size projects (MySQL, Boost, etc).
Comment 5 Quality Engineering 2010-05-27 07:46:58 UTC
Integrated into 'main-golden', will be available in build *201005270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/65fa67fdcda2
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing BZ#186684 LowPerformance took 413031 ms.
- fixed type hierarchy slowness
Comment 7 Quality Engineering 2010-10-29 03:00:10 UTC
Integrated into 'main-golden', will be available in build *201010290000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7ec9ee305aad
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #186684 -  expensive HierarchyFactory.buildTypeHierarchyModel call in EDT