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

Re: git checkout running very slowly (>12s)

From
Jeff King <peff@peff.net>
Date
Jun 21, 2011, 00:44 UTC
Message-ID
<20110621004452.GA3064@sigill.intra.peff.net>
In-Reply-To
<loom.20110620T221426-685@post.gmane.org>
On Mon, Jun 20, 2011 at 08:26:37PM +0000, Andrew Cameron wrote:
> In other words, it appears that an efficient lstat implementation was not the 
> key factor in this problem.  The root cause remains a mystery, but in my case, 
> the solution was to upgrade Git.

If you can reliably trigger the problem by switching versions and you are still curious and want to spend a little more time on it, you may be able to bisect the fix to solve the mystery.

Keep in mind that you are bisecting a fix, not a regression, so your meanings of "good" and "bad" will be opposite of what you expect. I.e., "bad" commits will have the fix, and "good" commits will not (I know this is confusing; it's an artifact of the way bisect works).

-Peff
Previous: Andrew CameronNext: Jeff King
Message 5 of 7 in “git checkout running very slowly (>12s)”
  1. Andrew CameronJun 15, 2011
  2. Andreas EricssonJun 15, 2011
  3. Andrew CameronJun 15, 2011
  4. Andrew CameronJun 20, 2011
  5. Jeff KingJun 21, 2011
  6. Jeff KingJun 21, 2011
  7. Andrew CameronJun 21, 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.