This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GIT and CVS
On Thu, 13 Oct 2011 23:50:33 +0200, Joseph S. Myers wrote:
> Even with local disk, git is much more I/O intensive. I timed looking at
> logs from a glibc checkout on local disk:
>
> $ time git log > /dev/null
>
> real 0m18.324s
> user 0m0.560s
> sys 0m0.304s
$ time git log >/dev/null
real 0m0.374s
user 0m0.330s
sys 0m0.041s
You cannot count the first operation, before ./.git gets cached. The first
read is deficiency of kernel filesystem, pre-read and/or no SSD on your system.
Regards,
Jan