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 108274

Summary: Time to open an existing diagram exceeds threshold
Product: uml Reporter: Rashid Urusov <rashid>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker CC: issues, mrkam
Priority: P3 Keywords: PERFORMANCE, TEST
Version: 6.x   
Hardware: All   
OS: All   
URL: http://test4u.czech.sun.com/test4u-users/nb-perfteam/results/20080313190100/spb-perf-lin2/testrun_080313-210947/testbag_40/htmlresults/suites/TEST-gui.UMLMeasureActions.html#gui.actions.OpenUMLDiagram.Open%20UML%20Diagram
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 123518    

Description Rashid Urusov 2007-06-27 12:45:02 UTC
Automated performance tests shows too long time to open an existing diagram containing 30+ elements on recommended
configuration machine.
See results in millisec :
http://test4u.czech.sun.com/test4u-users/nb-perfteam/results/20070626152140/spb-perf-xp2/testrun_070626-173548/testbag_23/user/gui.actions.OpenUMLDiagram/Open%20UML%20Diagram/Open%20UML%20Diagram.log
Comment 1 George Vasick 2008-01-04 22:21:55 UTC
The trunk contains substantial improvements compared to 6.0, on the order of 4 seconds versus 4 minutes for my test
case.  I would like to have access to the official performance tests to verify the fix.
Comment 2 Viktor Lapitski 2008-01-12 01:49:23 UTC
fix for 122550 was pretty generic in nature and resulted in the improvement here as well.
Comment 3 Peter Lam 2008-01-24 00:24:21 UTC
rashid, could you or your team please help verify this bug. Thanks!
Comment 4 Alexander Kouznetsov 2008-02-13 15:03:19 UTC
Product Version: NetBeans IDE Dev (Build 200802110004)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

It takes approx. 4 seconds to open UML diagram on the specified configuration. Automated tests report approx 2700 ms on
recommended hardware, 1st usage results are much worse - more than 7 seconds.
http://xtest-db.czech.sun.com/AllInOnePerformanceDashboard/atomicResult.jsp?project=netbeans_Dev&buildNumber=200802120006&suiteName=Actions&resultName=Open%20UML%20Diagram&history=80
Comment 5 Alexander Kouznetsov 2008-03-14 17:29:55 UTC
See URL field for latest results. Time is about 3 seconds.
Comment 6 Sergey Petrov 2008-03-14 18:22:30 UTC
How these tests work, may nb startup affect tests result or there is enough time between nb startup activity and uml
actions?
Comment 7 Sergey Petrov 2008-03-14 18:49:36 UTC
ok, got it from link, it seems 3 seconds should be in relatively stable nb state
Comment 8 George Vasick 2008-06-10 17:03:47 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.