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 89271 - performance: design view takes a long time
Summary: performance: design view takes a long time
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks: 89268
  Show dependency tree
 
Reported: 2006-11-14 07:44 UTC by Samaresh Panda
Modified: 2007-02-12 21:36 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 Samaresh Panda 2006-11-14 07:44:49 UTC
1. Adding to OTA is slow (for example adding a new element)
2. Deleting multiple items (using Ctrl-Select) then delete
3. Also, when working in another view in OTA (editing in the schema view for
example) the auto sync seems to be taking quite a bit of time.
Comment 1 Samaresh Panda 2006-12-06 21:51:47 UTC
In order to reproduce/verify, I'm adding some comments.

1. Adding to OTA is slow (for example adding a new element)
This was a a child of a global element. This was done in several places, so I am
not sure this was specific to any one place. I think the specific use case was
adding to a shared type from a usage.

2. Deleting multiple items (using Ctrl-Select) then delete.
Multi-select items from schema view and try delete.

In general, it should be just seamless, swicthing between views and making
chnages in one view should not freeze the IDE.
Comment 2 Samaresh Panda 2006-12-06 21:56:08 UTC
Fix in http://www.netbeans.org/issues/show_bug.cgi?id=87151 seems to have solved
a lot of the issues mentioned in this bug. Marking it FIXED.

Please verify and reopen if required.
Comment 3 htt 2006-12-13 22:35:57 UTC
Verified in build 061212_5.  For this verification, no schema larger than OTA
was used.  Compared to 5.5, it now takes half the time to perform the following
steps on winXP.  While there's still room for improvement, the findings below
should justify the fix for this particular issue.  For performance issue on
larger schema, refer to issue 87151.
  Open OTA in schema view  - 2 seconds
  Switch among the 3 views - instantly
  In Design view, working with elements taht are nested 4-5 level deep,
    add via drag/drop, keyboard, or menu  - instantly
    rename via double-click or Properties - 1 to 2 seconds
    delete a nested element               - 3 to 5 seconds
    delete multiple elements              - 3 to 6 seconds each
    undo/redo the multiple delete above   - 4 to 5 seconds
    go to Source or Schema view           - instantly
    (vice versa, go to Design view from there takes about a second)
  In Source view, rename element then switch to Design - ~ 2 seconds to sync.
  In Schema view, rename element then switch to Design - ~ 4 seconds to sync.
    
  
 
  
  
Comment 4 tonybeckham 2007-02-12 21:36:41 UTC
Vast improvements in performance for all areas of this issue have been obtained.
 Previosly, the following times were observed:
Add element DV: ~ 10 sec
Edit name: ~3 sec
Edit in Source View and sync w/ DV: ~ 5 sec
Delete 26 complex types
Schema View: ~ 33 sec

With milestone 6a the following performance has been achieved:
Add element DV: instant
Edit element: instant
Edit element in source and sync w/ DV: ~ 2 sec
Delete 26 complex types Schema View: ~ 7 sec.
Undo delete: instant

Marking issue as verified fixed.