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 86392 - opened Overview window reduces uml performance extremely
Summary: opened Overview window reduces uml performance extremely
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ jyothivasa
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2006-10-03 16:34 UTC by Andrew Korostelev
Modified: 2006-10-06 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2006-10-03 16:34:18 UTC
Overview that is opned in Navigator window by default, 
reduces uml repformance extrimely.

bug is reproducible in ide-coke_uml-061003_6

Steps to reproduce:

- extract ide-coke_uml zip. 
- set 'netbeans_default_options="-J-Xms256m -J-Xmx512m ....'
in 'netbeans\etc\netbeans.conf' ( issue 86049 )
- create uml project (IDE with Navigator opened by default).
- create class diagram
- put class and enumeration elements on diagram. name them.
- add 'association class' link from class to enum.
- generate dependency diagram for enum (invoke 'Generate Dependency Diagram' on
enum element on diagram). 
- go back to original diagram
- select all three elements and links (class, enum, assoc. class and links).
- copy them and paste on the same diagram.
This Action takes about 10 sec. for me.

- close Navigator window.
- Select the same elemens (there are two copies already - select only one of them).
- copy-paste to the same diagram.
The same 10 seconds.

After IDE restart it will take about 1 second.
If you open Navigator window, it will take 10 seconds again.

Note:
Dependency Diagram generation is not necessary but makes time differences more
visible.
Comment 1 Andrew Korostelev 2006-10-03 16:34:46 UTC

*** This issue has been marked as a duplicate of 85996 ***
Comment 2 Andrew Korostelev 2006-10-03 16:36:52 UTC
see related issues:
issue 78505 - REMOTE_X: Bad perfomance with OverView Window on remote desktop
issue 86026 - Overview window closing doesn't solve the performance problem
issue 86044 - overview causes performance problem of elements copying between
diagrams.
Comment 3 Andrew Korostelev 2006-10-04 13:34:16 UTC
it was requested to set issue 85996 as verified/fixed, because exact steps
provided there work well now 
(navigator impact on performance is not too visible).

In this case current issue and related issue 86044 are not duplicates of issue
85996.
Comment 4 _ jyothivasa 2006-10-05 05:57:23 UTC
Removed the real-time updates for diagram navigator. This should fix most of the
performance problems.
Comment 5 Andrew Korostelev 2006-10-06 13:38:15 UTC
example steps described here highlight two issues:
1) issue 86672 - it is still reproducible and therefore is filed separately.
2) Performance problem was highly visible after Dependency diagram generation.
This is now reproducible with default memory settings and before IDE restart only.


part 1 is filed separately.
part 2 is not actual since tspiva has suggested not to test with default memory
settings.

I close this bus as verified/fixed.