Re: Performance issue of 'git branch'
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jul 24, 2009, 20:36 UTC
- Message-ID
- <alpine.LFD.2.01.0907241327410.3960@localhost.localdomain>
- In-Reply-To
- <20090723195548.GA28494@Pilar.aei.mpg.de>
On Thu, 23 Jul 2009, Carlos R. Mafra wrote:
Show 6 quoted lines
> > After 7 tests I got these, > > time: > > 0.61 +/- 0.08
Btw, I think 0.61s is still too much. Can you send me the output of 'strace -Ttt' on your machine?
It's entirely possible that it's all the actual binary (and shared library) loading, of course. You do have a slow harddisk. But it takes 0.035s for me, and I'm wondering if there is something else than just CPU speed and IO speed accounting for the 20x performance difference.
(That said, maybe 20x is right - my SSD latency almost certainly is 20x better).
Linus