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.
Summary: | Very slow update of schema view when making big change | ||
---|---|---|---|
Product: | xml | Reporter: | Nathan Fiedler <nlfiedler> |
Component: | Schema Tools | Assignee: | Sonali Kochar <sonali> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues, samaresh, sonali |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 89268 |
Description
Nathan Fiedler
2006-09-15 18:48:13 UTC
->nathan Using the NetBeans profiler, it appears that most of the time is spent in the model code, not the tools layer. I am not, however, convinced as to which module is the culprit. Lowering the priority, as the test scenario is not realistic (the flattened OTA schema is not a real world example). Must be investigated and resolved. This is a batch operation and as expected takes a while. After several other performance fixes (87151 and 89271), I thought this works pretty well, except that I got some assertions. Fix for assertion: Checking in AXIModelImpl.java; new revision: 1.1.2.42.6.7; previous revision: 1.1.2.42.6.6 After testing Coke vs Milestone 6 the improvements are: from about 15 seconds to perform the actions described to around 5 seconds to perform the same action in milestpone 6. Marking issue as VERIFIED. The current timing is approximately 5 seconds to cut all the complex types in OTA. In order to close this issue, we need to profile this scenario to determine what the root cause of this issue is. If the problem is that the cut and paste framework only supports single operations then we should open an issue in the correct category and add a dependency on it. Obsolete milestone, please reevaluate Multiple Cut/Copy/Delete for XML schema is not supported in 6.0. Now it is being supported again for 6.0. but it does not work exactly the same way. For instance, the cut operation does not remove the selection until it has been pasted somewhere else. Because of this measurements that say 15 sec, or 5sec for the cut time are no longer relevant. The relevant thing is the time it takes to complete the whole cut and paste operation, the pasting being the bulk of the work done. With NetBeans IDE Dev (Build 200710030000) The time it takes to cut all OTA's complex types and paste them in an empty schema is approx: 2min 45sec. I think that this is a fairly reasonable number considering how much is going on. I want to reopen this because it is valid but if the time is acceptable for Sam and Sonali we can close it as fixed. IMO, this is fairly reasonable. There is always room for improvement, however, given the size of the schema and the use-case in question, I think this is OK. The point is, to check the performance of cut-paste for a bulk of components and I did some testing by cut-pasting 25-30 components at a time and it is pretty good. The use-case is very unrealistic and user has to pay the price for such an operation. |