[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Magit is painfully slow
From: |
Kyle Meyer |
Subject: |
Re: Magit is painfully slow |
Date: |
Sat, 29 Dec 2018 11:44:09 -0500 |
Hello,
Ricardo Wurmus <address@hidden> writes:
[...]
> However, after compiling and generating several .po and .texi
>> files Magit takes almost a whole minute to open.
>
> That’s because it’s trying to colorize the diff of thousands of lines of
> .po and .texi changes.
With the default settings and no cached visibility for the repo, the
hunks should not be expanded, so Magit isn't actually coloring/painting
them yet. In this case, the processing of these diffs will be slow
regardless of whether they are painted and the CLI "git checkout"
suggestion is good, but I think the delayed painting is worth noting
because users may not realize that their custom visibility settings are
making things slower.
--
Kyle