Thread (29 messages) flat view 29 messages, 7 authors, 2016-08-11

Re: Git performance on OS X

From: Pieter de Bie <hidden>
Date: 2016-06-15 22:44:30

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help