git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Johannes SixtNext: Michael J Gruber
Message 3 of 5 in “Improving performance with pthreads in refresh_index().”
  1. Improving performance with pthreads in refresh_index().klinkert@webgods.de, Oct 11, 2011
  2. Johannes SixtOct 11, 2011
  3. Nguyen Thai Ngoc DuyOct 11, 2011
  4. Michael J GruberOct 11, 2011
  5. Simon KlinkertOct 12, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.