git-gutter-plus
git-gutter-plus copied to clipboard
Very slow on large files
I have a large org-file (300k) that git-gutter-+ runs slowly on, as in it takes 5 seconds for git-gutter+-refresh
to run.
Using regulargit-gutter-mode
runs instantaneously.
Here's the profiler report.
- save-buffer 5035 84%
- basic-save-buffer 5035 84%
- run-hooks 5031 84%
- git-gutter+-refresh 5023 84%
- git-gutter+-process-diff 5022 84%
- git-gutter-fr+-view-diff-infos 5022 84%
- mapc 5019 83%
- git-gutter-fr+-view-diff-info 5019 83%
- git-gutter-fr+-view-region 5019 83%
fringe-helper-insert-region 6 0%
Could we as a temporary workaround have a max-file-size variable? git-gutter+-mode is quite unusable on large files, unfortunately :(