Skip to content

Fix painfully slow refresh in repos with uncommitted large binary files#959

Merged
Murmele merged 2 commits into
Murmele:masterfrom
AHSauge:fix/slow-refresh-with-large-files
May 15, 2026
Merged

Fix painfully slow refresh in repos with uncommitted large binary files#959
Murmele merged 2 commits into
Murmele:masterfrom
AHSauge:fix/slow-refresh-with-large-files

Conversation

@AHSauge
Copy link
Copy Markdown
Contributor

@AHSauge AHSauge commented May 11, 2026

This is a partial port of gitahead/gitahead#601

I've tested with a 2.5GiB file uncommitted in the repo, and the refresh is pretty decent. Without the fix, Gittyup would just sit there and chew RAM and CPU like crazy. I'm sure it would result in an OOM crash eventually, but I didn't wait for that. This is quite simply night and day difference.

This partially addresses #652 and #765, and might help #523

Copy link
Copy Markdown
Owner

@Murmele Murmele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the investigation into this problem!

Comment thread src/ui/DiffView/FileWidget.cpp Outdated
@AHSauge AHSauge force-pushed the fix/slow-refresh-with-large-files branch from 429d56d to cf9b03a Compare May 14, 2026 22:08
@Murmele Murmele merged commit 68bfd9c into Murmele:master May 15, 2026
6 checks passed
@AHSauge AHSauge deleted the fix/slow-refresh-with-large-files branch May 15, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants