Re: Git performance on OS X

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

 




On 19 apr 2008, at 23:54, Linus Torvalds wrote:


Btw, the "git status" issue is totally different.


Yes, I was aware of that, but still found it interesting to test.

And yes, most of the time in "git status ." is going to be the lstat()
calls. Which are expensive on OS X. And yes, we do too many of them. I'll
look at seeing if we can avoid some.

I just tested this. "git status ." does 428815 (400k!) lstats, almost 10x as many as there are files in the repository. I'd agree that this is the reason it's slow on OS X :).

- Pieter


--
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]

  Powered by Linux