Skip to content

Very slow on large files #32

@jschaf

Description

@jschaf

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%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions