[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.
- [lmi] Migration to git, Greg Chicares, 2016/05/20
- Re: [lmi] Migration to git, Vadim Zeitlin, 2016/05/20
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/20
- Re: [lmi] Migration to git, Vadim Zeitlin, 2016/05/20
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/20
- Re: [lmi] Migration to git, Vadim Zeitlin, 2016/05/20
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/21
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/21
- Re: [lmi] Migration to git,
Greg Chicares <=
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/22
- Re: [lmi] Migration to git, Vadim Zeitlin, 2016/05/22
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/22
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/22
- Re: [lmi] Migration to git, Vadim Zeitlin, 2016/05/22
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/23
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/24
- Re: [lmi] Migration to git, Vadim Zeitlin, 2016/05/24
- Re: [lmi] Migration to git, Greg Chicares, 2016/05/24
- Re: [lmi] Migration to git, Vadim Zeitlin, 2016/05/24