Closed dobcey closed 2 months ago
Hey @dobcey! thanks for reporting this - this is definitely something of a high prio for us to fix. Do you remember if you had a large number of files (15+) modified or if the diffs were particularly big (in the thousands of LoC)? Does your repository happen to have a particularly large number of (remote) branches? e.g 100+
Earlier today i released a patch update (0.10.11 - discord link) with some performance improvements, but I suspect that they would not be applicable for your specific situation.
I upgraded to 0.10.11 with the same result, as you suspected. I had 6 modified files, none of which had a large diff. The repo does not have a large numer of remote branches. It does however use git-lfs that points to a 23 Mb binary file.
The behaviour (max CPU and wait time) seems to be the same for many (if not all) git related operations; commiting, undoing commits, amending. The same also happens when I launch GitButler and it loads the Workspace. I see a spinner for 10 seconds and the CPU maxes out.
I must also say that I'm exited about your product. Thank you for building this @krlvi!
the git-lfs is an interesting pointer for me to investigate! i will ping you in this thread if i have a suspected fix :) thank you @dobcey for being patient with us!
I have also been encountering significant slow downs on repositories that use git-lfs, which results in a non-trivial changelist on some projects. One project in particular has over ~130 changed files, which are not actually changed; just simply incorrect due to the lack of git-lfs support.
Hey, it's an old issue but I wanted to update here as well since there has been a bunch of work on this front. There are some performance improvements which just landed with the latest patch release 0.12.5. Let me know how it works for you
@dobcey are you still experiencing this issue with the more recent versions of the app? We have done quite a bit of changes to this flow, and I expect that the issue specific to deleting branches should be fixes
Closing this one since we havent heard back from the author. Feel free to create a new issue if this is still an issue. Thank you.
Problem
When creating or deleting a branch the CPU usage goes to 100% and it takes 10 seconds for the operation to succeed (at least visually).
It only seems to affect the branch lane. When creating, the new lane doesn't appear until after 10 seconds, but everything else seems to be working. I can view file diffs in the mean time for example. When deleting, the success message appears after ~ 3 seconds, but the confirmation modal (which can be dismissed) is present until till 10 seconds has passed, and then the deleted lane disappears.
How to reproduce
Create or delete a branch.
System Info
Log output
Create branch - 10s
Delete branch - 10s
CPU Activity
Delete success message
Shown before lane is visually removed.