Re: Performance issue of 'git branch'
From: Jakub Narebski <hidden>
Date: 2016-06-15 22:47:05
Linus Torvalds [off-list ref] writes:
On Thu, 23 Jul 2009, Carlos R. Mafra wrote:quoted
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.quoted
[ 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 ;(
BTW. Would SystemTap help there? Among contributed scripts there is iotimes, so perhaps it would be possible to have iotrace... -- Jakub Narebski Poland ShadeHawk on #git