Search and Replace Performance imporvement

Having trouble installing Oxygen? Got a bug to report? Post it all here.
kingargyle
Posts: 58
Joined: Fri Nov 11, 2005 6:35 am

Search and Replace Performance imporvement

Post by kingargyle »

This is for the Eclipse plugin. On very large files, when doing a search and replace, on an element tag that repeats multiple times, it can take over 10 minutes for the search and replace operation to complete. This is very noticeable on extremely large XSD or XML files.

This in itself may be an eclipse issue, but performance seems to very by plugin. But Oxygen has always been slow in this aspect.

An example, open a large XSD that has many documentation elements. Do a search and replace on the documentation elements, and take a nap. :) It will take a while for Oxygen to return control. The operation does complete successfully, just takes a LOOONG time.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Thank you for letting us know. The find/replace feature of the text editor of the Oxygen XML Editor contributed in Eclipse is implemented completely by Eclipse. We will try to find the cause of the delay and if we can improve the speed of the Replace All action.


Regards,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

The very long delay is caused by repeated notifications received by the oXygen plugin from Eclipse for each modification of the document during the replace all operation. We implemented a fix that reduces the delay from more than 10 minutes to 20 seconds for a file of 3.5 MB. The fix will be available in the next release, that is oXygen 8.2. If you need the fix sooner just let us know and we will tell you how to download a patch.


Regards,
Sorin
kingargyle
Posts: 58
Joined: Fri Nov 11, 2005 6:35 am

Post by kingargyle »

What is the time frame for 8.2? I have work arounds, until then.

Thanks.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

oXygen version 8.2 will be released in a couple of months.


Regards,
Sorin
Post Reply