Page 1 of 1

Refactoring and Dependencies Calculations Are Slow

Posted: Fri May 24, 2019 5:37 am
by jmorales
Hi, We have almost 3 GB of documents in a SourceTree (GIT) repository. When I do refactoring to change a filename or move a file, or when I open Resource Dependencies for a topic, Oxygen currently takes about eight minutes to respond. Is there anything we can do to optimize performance to get this to go faster?

Thanks!

Re: Refactoring and Dependencies Calculations Are Slow

Posted: Fri May 24, 2019 5:12 pm
by sorin_carbunaru
Hello,

In order for us to analyze this problem, please create a "log4j.properties" file in oXygen's installation directory (on the same level with the oXygen launcher) with the following content:

Code: Select all

log4j.category.ro.sync.ui.application.ThreadWatchDog=debug, R2
  
log4j.appender.R2=org.apache.log4j.RollingFileAppender
log4j.appender.R2.File=${user.home}/Desktop/oxygenLog/oxygen.log
log4j.appender.R2.MaxFileSize=12000KB
log4j.appender.R2.MaxBackupIndex=20
log4j.appender.R2.layout=org.apache.log4j.PatternLayout
log4j.appender.R2.layout.ConversionPattern=%r %p [ %t ] %c - %m%n 
After you try your use case ( but please wait for around 1 minute, not 8 ) and close oXygen, on the Desktop you should have an "oxygenLog" directory. Add it to an archive and send it to us to support@oxygenxml.com.

Do you also have our Git add-on installed in oXygen? And what version of oXygen do you use? And did you notice a better performance in another version?

Have a nice weekend,
Sorin Carbunaru
oXygen XML

Re: Refactoring and Dependencies Calculations Are Slow

Posted: Fri May 24, 2019 10:09 pm
by jmorales
Thanks for your help, Sorin. I have emailed the log to your support address, and referenced this forum thread.

Re: Refactoring and Dependencies Calculations Are Slow

Posted: Tue Oct 19, 2021 8:46 am
by Radu
Hi,

As an update, we released Oxygen 24 which should be much faster to adjust references when single topics are renamed or move.

Regards,
Radu

Re: Refactoring and Dependencies Calculations Are Slow

Posted: Wed Oct 27, 2021 1:03 am
by jmorales
Thanks Radu, that is good news!

Re: Refactoring and Dependencies Calculations Are Slow

Posted: Mon Nov 08, 2021 5:20 am
by chrispitude
jmorales, this is not related to refactoring or renaming, but how is the speed of the Git Plugin for your repository?

Git operations were pretty quick when we first started our repo (about 2 years ago), but it they are getting noticeably slower now. We have about 50k files in our largest repo, totalling 825MB, with 10k commits in activity.

Re: Refactoring and Dependencies Calculations Are Slow

Posted: Mon Nov 08, 2021 7:17 am
by Radu
Hi Chris,

We could also look into this if you give us a general idea about what those operations are.

Regards,
Radu