monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] git fast-export


From: Derek Scherger
Subject: Re: [Monotone-devel] git fast-export
Date: Tue, 6 Jan 2009 23:50:46 -0700

On Mon, Jan 5, 2009 at 7:27 PM, Felipe Contreras <address@hidden> wrote:
On Tue, Jan 6, 2009 at 1:42 AM, Derek Scherger <address@hidden> wrote:
> On Mon, Jan 5, 2009 at 2:22 PM, Felipe Contreras
> <address@hidden> wrote:
>>
>> Why an extra "master" branch? There's no need for that branch.
>
> It's used for revs that have no other branch certs to use.

Would it make sense to use another name? "nil", "unknown" or something?

Possibly. It's probably not a big deal to rename it after importing either.

>> taking about 6 seconds per commit, that's too slow.
>> Working with the roster is extremely slow. Right now your tool is

progress revision a19da46cd3d31611d768b67a772c2861aded46c5 (27501/27501)

real    277m23.646s
user    251m33.919s
sys     24m42.357s

For the record I can apparently convert the pidgin database in about 4.5 hours on a 2.4GHz core 2 which works out to about 1.65 revs per second (0.61 seconds per rev) on average. The export file is 3.4GB in size.

On the import side...

progress revision a19da46cd3d31611d768b67a772c2861aded46c5 (27501/27501)

real    5m10.373s
user    4m34.469s
sys     0m6.984s

git imports this at a rate of 89 revs per second (0.011 seconds per rev)... pretty impressive. The inital git repo is 762MB vs the 252MB monotone repo. Repacking with git repack -adf...

real    3m43.852s
user    3m41.978s
sys     0m1.272s

after which the git repo is 99MB. Again pretty impressive.

I have not verified this imported repo in any way yet though so who knows whether its accurate or not.

Cheers,
Derek



reply via email to

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