Re: Performance issue of 'git branch'
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jul 23, 2009, 02:28 UTC
- Message-ID
- <alpine.LFD.2.01.0907221925100.3352@localhost.localdomain>
- In-Reply-To
- <20090723020238.GA8948@Pilar.aei.mpg.de>
On Thu, 23 Jul 2009, Carlos R. Mafra wrote:
> > Is there another way to check what is going on with that anomalous lstat()?
I really don't think it's the lstat any more. Your directories look small and simple, and clearly the indexing made no difference.
See earlier email about using "strace -T" instead of "-tt". Also, I sent you a patch to try out just a minute ago, I think that may be it.
> [ perhaps I will try 'perf' after I read how to use it ]
I really like 'perf' (it does what oprofile did for me, but without the headaches), but it doesn't help with IO profiling.
I've actually often wanted to have a 'strace' that shows page faults as special system calls, but it's sadly nontrivial ;(
Linus