Re: [PATCH] Improving performance with pthreads in refresh_index().
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Oct 11, 2011, 10:59 UTC
- Message-ID
- <CACsJy8D7-vtfNvx8BqAK77Y7A4qYxORTzovMugXRZLuxXtYY+Q@mail.gmail.com>
- In-Reply-To
- <1318325521-23262-1-git-send-email-klinkert@webgods.de>
On Tue, Oct 11, 2011 at 8:32 PM, <klinkert@webgods.de> wrote:
> Git performs for every file in a repository at least one (with a cold cache) > lstat(). In larger repositories operations like git status take a > long time. In case your local repository is located on a remote server > (e. g. mounted via nfs) it ends up in an *incredible* slow git.
This sounds really similar to what Linus did with preload-index.c..
-- Duy