Re: git-fetch per-repository speed issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-07-03 at 21:19 -0700, Linus Torvalds wrote:

> Can you instrument your "git-fetch.sh" script (just add random
> 
> 	(echo $LINENO ; date) >&2
> 
> lines all over) to see what is so expensive? 

5 Start:                             21:59:01.584648000
66 After args:                       21:59:01.605987000
248 fetch_main() start:              21:59:02.408559000
339 fetch_main() before fetch-pack:  21:59:03.293228000
387 fetch_main() done:               21:59:04.784388000
422 After tag following:             21:59:05.311439000
438 All done:                        21:59:05.315338000

fetch-pack itself took 0.421 seconds (measured with time(1)).

Looks like the bulk of the time here is caused by simple shell
processing overhead, some of which scales with the number of heads and
tags to track.

-- 
keith.packard@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]