Page 1 of 1

Search and Replace Performance imporvement

Posted: Sun Feb 25, 2007 4:53 am
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.

Posted: Mon Feb 26, 2007 3:38 pm
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

Posted: Fri Mar 09, 2007 3:18 pm
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

Posted: Fri Mar 09, 2007 9:05 pm
by kingargyle
What is the time frame for 8.2? I have work arounds, until then.

Thanks.

Posted: Mon Mar 12, 2007 1:14 pm
by sorin_ristache
Hello,

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


Regards,
Sorin