Re: Make the git codebase thread-safe
- Date: Tue, 2 Apr 2019 08:07:18 +0700
- From: Duy Nguyen <pclouds@xxxxxxxxx>
- Subject: Re: Make the git codebase thread-safe
On Tue, Apr 2, 2019 at 7:52 AM Matheus Tavares
> I downloaded chromium to give it a try and got (on a machine with i7 and
> SSD, running Manjaro Linux):
> - 17s on blame for a file with long history
> - 2m on blame for a huge file
> - 15s on log for both  and 
> - 1s for git status
> It seems quite a lot, especially with SSD, IMO.
There have been a couple of optimizations that are probably still not
enabled by default because they only benefit large repos. So you may
want to check and turn them on before measuring anything:
commit-graph, pack bitmap, untracked cache or fsmonitor. All these
should be mentioned in 'git help config' (as starting point). Also
search "threads" in that man page because some commands may have multi
threads support but disabled by default for the same reason.
>From your command list though, I think you might get the same results
(maybe with a bit faster 'git status') even with all optimizations on.