Refactoring and Dependencies Calculations Are Slow

jmorales
Posts: 86
Joined: Tue Oct 30, 2018 9:47 pm

Refactoring and Dependencies Calculations Are Slow

Post by jmorales » Fri May 24, 2019 5:37 am

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!

sorin_carbunaru
Posts: 384
Joined: Mon May 09, 2016 9:37 am

Re: Refactoring and Dependencies Calculations Are Slow

Post by sorin_carbunaru » Fri May 24, 2019 5:12 pm

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

jmorales
Posts: 86
Joined: Tue Oct 30, 2018 9:47 pm

Re: Refactoring and Dependencies Calculations Are Slow

Post by jmorales » Fri May 24, 2019 10:09 pm

Thanks for your help, Sorin. I have emailed the log to your support address, and referenced this forum thread.

Radu
Posts: 7697
Joined: Fri Jul 09, 2004 5:18 pm

Re: Refactoring and Dependencies Calculations Are Slow

Post by Radu » Tue Oct 19, 2021 8:46 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

jmorales
Posts: 86
Joined: Tue Oct 30, 2018 9:47 pm

Re: Refactoring and Dependencies Calculations Are Slow

Post by jmorales » Wed Oct 27, 2021 1:03 am

Thanks Radu, that is good news!

chrispitude
Posts: 354
Joined: Thu May 02, 2019 2:32 pm

Re: Refactoring and Dependencies Calculations Are Slow

Post by chrispitude » Mon Nov 08, 2021 5:20 am

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.

Radu
Posts: 7697
Joined: Fri Jul 09, 2004 5:18 pm

Re: Refactoring and Dependencies Calculations Are Slow

Post by Radu » Mon Nov 08, 2021 7:17 am

Hi Chris,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply