Re: Git status performance on PS (command prompt)
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Feb 13, 2017, 06:12 UTC
- Message-ID
- <CAP8UFD2Ve4WvyBg-DDye4Bpwb=MjB8P6V6mQdWDPbiwnVKovzg@mail.gmail.com>
- In-Reply-To
- <20170212164650.u7frv234kmu5hm7r@genre.crustytoothpaste.net>
On Sun, Feb 12, 2017 at 5:46 PM, brian m. carlson <sandals@crustytoothpaste.net> wrote:
> On Sun, Feb 12, 2017 at 04:53:47PM +0100, Mark Gaiser wrote:
[...]
>> I did a bit of profiling in git to figure out where this slowdown comes from. >> Callgrind tells me that "read_directory_recursive" takes up ~62% of the time. >> Within that call the function "last_exclude_matching_from_list" takes >> up 49% of the time it takes to run "git status --porcelain -b".
The core.untrackedCache config option may help.