Open jschaf opened 8 years ago
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.
git-gutter+-refresh
Using regulargit-gutter-mode runs instantaneously.
git-gutter-mode
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 :(
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 regular
git-gutter-mode
runs instantaneously.Here's the profiler report.