Re: git-fetch per-repository speed issues
On Mon, 2006-07-03 at 21:19 -0700, Linus Torvalds wrote:
> Well, that's still strange. What takes 4.2 seconds then?
$ strace -e trace=execve -f git-fetch 2>&1 | grep execve | sed -e 's/^.*execve("//' -e 's/".*$//' | sort | uniq -c | sort -n
1 /bin/rm
1 /home/keithp/bin/git
1 /home/keithp/bin/git-fetch
1 /home/keithp/bin/git-fetch-pack
1 /home/keithp/bin/git-ls-remote
1 /home/keithp/bin/git-peek-remote
1 /usr/bin/sort
3 /bin/sed
4 /home/keithp/bin/git-repo-config
30 /bin/mkdir
30 /home/keithp/bin/git-cat-file
30 /home/keithp/bin/git-check-ref-format
30 /home/keithp/bin/git-merge-base
30 /usr/bin/dirname
64 /home/keithp/bin/git-rev-parse
361 /usr/bin/exprsomeone sure likes 'expr'...
--
keith.packard@intel.com