[darcs-users] Benchmarking "get"

Lele Gaifax lele at nautilus.homeip.net
Wed Mar 18 00:01:42 UTC 2009


On Tue, 17 Mar 2009 23:00:02 +0000
Ian Lynagh <igloo at earth.li> wrote:

> > git is surprisingly (to me) large, but I don't know what it stores.
> 
> int-e suggested the use of "git gc --aggressive":
>

    $ git gc --aggressive
    Counting objects: 23057, done.
    Compressing objects: 100% (21366/21366), done.
    Writing objects: 100% (23057/23057), done.
    Total 23057 (delta 15669), reused 0 (delta 0)
    Removing duplicate objects: 100% (256/256), done.
    $ cd ..
    $ du -sb git-side
    25641358        git-side
    $ time git clone git-side gs-clone
    Initialized empty Git repository in /tmp/g/gs-clone/.git/

    real    0m0.164s
    user    0m0.080s
    sys     0m0.080s

That made the difference, ~10x faster than "darcs get --lazy" although
2.5x larger than a lazy repo, and half the size of the complete darcs
repo. 

ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
lele at nautilus.homeip.net |                 -- Fortunato Depero, 1929.


More information about the darcs-users mailing list