gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Gitbutler slow for big files

Open coma64 opened this issue 1 year ago • 2 comments

When clicking on a changed file with a lot of lines, in my case a file with 50k lines from which 20k were just removed, the whole UI freezes and it takes ~5 seconds to show the diff. At least some loading spinner would be much appreciated.

Also it would be really helpful to group changed files by whether they're already tracked or not, like jetbrains does it in their IDEs

Edit: The issue spans to other functionality as well e.g. adding new branches and deleting them is incredibly slow. Another thing worth mentioning is that I have ~300 untracked files

coma64 avatar Feb 19 '24 16:02 coma64

Also noticed this problem, it becomes the most obvious when there are any large files in the project folder (usually artifacts such as executable files, which are not yet in gitignore), gitbutler detects such files and shows them in "Changes", and the UI freezes indefinitely after some operations (branch creation/deletion, commits and so on), even if there are no any operations on artifacts

dartt0n avatar Feb 20 '24 10:02 dartt0n

A small appendix: in my case the large file is not an artifact that I can put into gitignore but a large config file. Now you could argue that that file should be in LFS or in some DB but I wont change the whole system architecture just because my git client is slow :D

coma64 avatar Mar 24 '24 13:03 coma64