lmi
[Top][All Lists]
Advanced

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

Re: [lmi] Migration to git


From: Greg Chicares
Subject: Re: [lmi] Migration to git
Date: Sun, 22 May 2016 10:01:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0

On 2016-05-22 03:49, Greg Chicares wrote:
> On 2016-05-22 01:00, Greg Chicares wrote:
[...]
>> - Should I run 'git-gc' before pushing?

git svn clone; pushed to bare, then cloned from that...'du -sb' says:
21394883

> [...] git repack -a -d -f --depth=250 --window=250
> [...] $du -sb
> 16797404      .

The analysis is incomplete without considering how long it takes to
clone from the original vs. the repacked repository:

# original
git clone ~/repository/final/lmi  0.05s user 0.05s system 84% cpu 0.118 total

# repacked
git clone ~/repository/final-repacked/final/lmi  0.06s user 0.04s system 82% 
cpu 0.130 total

It looks like the repacked repository is preferable. It's twenty-one
percent smaller, so the twelve-millisecond penalty for cloning speed
(locally) is probably overwhelmed by network overhead.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]