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 80948 - Poor performance, for contextual menu to comeup on model tree nodes(250 elements in 60 packages)
Summary: Poor performance, for contextual menu to comeup on model tree nodes(250 eleme...
Status: VERIFIED DUPLICATE of bug 84275
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-07-24 11:34 UTC by bugbridge
Modified: 2008-03-27 01:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
BluePrintsUML.zip (510.24 KB, application/octet-stream)
2006-07-24 11:35 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-07-24 11:34:57 UTC
Description:

It took more than 5 minutes for the contextual menu to come up, after selecting 
and right mouse clicking on around 250 model elements in 60 packages.
This is on a powerful machine : Pentium4, 2 processors (2.99 GHz), 1.98GB RAM

Steps :
1. Unzip and open the attached Bluprints (J2EE adventure builder) java project
2. Reverse engineer the above java project
3. In the UML project, expand ALL (including all sub folders) the folders
   under the com/sun/j2ee/blueprints folder.
4. Select the blueprints folder node and using shift key, select the last node
in the 
   last package (which is waf->event).
   All the nodes under buleprints folder get selected.
5. Do a right mouse click (the intention is to create a diagram from selected
elements).

 You will obserev that it take long time for the contextual menu to come up
 (for me it took 5 minutes), which requires a fix.

 Then create class diagram, from selected elements, it took 2 minutes.
 May be this operation too can be tuned to improve performance ?
Comment 1 Alexandr Scherbatiy 2006-07-24 11:35:33 UTC
Created attachment 32137 [details]
BluePrintsUML.zip
Comment 2 Kris Richards 2006-12-16 01:15:40 UTC
on intel mac 2.0 GHz it takes about 40 sec. Still needs a fix.
Comment 3 Viktor Lapitski 2007-02-21 10:12:54 UTC
intend to close as a duplicate of 84275. It took about 4 sec. on my notebook to
select all the nodes and for popup menu to come-up. Diagram was created for
under 20 sec., so while there is always a room for improvement the original
issue looks fixed. 
Comment 4 Viktor Lapitski 2007-03-06 10:34:07 UTC

*** This issue has been marked as a duplicate of 84275 ***
Comment 5 Peter Lam 2008-03-27 01:24:18 UTC
This has already been verified.
Just verified again with selection of 55 packages and 530 elements, the popup menu came up with less than 1 second in delay.