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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 20, 2011 at 08:44:52PM -0400, Jeff King 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.

I was curious, and your issue was easy to replicate, so I bisected it
myself. The fix was:

  commit e53e6b4433f264250c2e586167caf61721b0185c
  Author: Brian Downing <bdowning@xxxxxxxxx>
  Date:   Thu Jun 10 21:59:07 2010 -0500

      unpack-trees: Make index lookahead less pessimal

which went into v1.7.1.1.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]