Massive performance issue on very large repo #20818
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.34.159.1 If you're self-hosting Renovate, select which platform you are using.GitHub Enterprise Server If you're self-hosting Renovate, tell us what version of the platform you run.3.7.6 Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.Renovate intermittently takes a very long time to run on a large monorepo. 15k branches and many hundred active contributors. Running that on my computer with a
So it is extremely slow on that repo. What you tried so far.Haven't tried anything other than that I was able to reproduce that it is in fact a very slow command Relevant debug logsLogs
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
That particular git command is part of the "is the branch behind base branch?" logic: renovate/lib/util/git/index.ts Lines 567 to 606 in a3cc159 It looks like we're not caching the result, but even doing so would not be too helpful if it takes 11minutes to get a response. |
Beta Was this translation helpful? Give feedback.
-
Note: not an answer. I am just curious why Renovate is using I have not have examined this deeply, but we are seeing this error resulting in hours of processing, so I am trying to understand it better so we can help bring that time down. |
Beta Was this translation helpful? Give feedback.
-
I have rewritten this function in #21036 to not use the origin and will merge it after more testing |
Beta Was this translation helpful? Give feedback.
I have rewritten this function in #21036 to not use the origin and will merge it after more testing