Multithreading processing?

Greg Ward greg-hg at gerg.ca
Thu Apr 22 17:10:12 CDT 2010


On Thu, Apr 22, 2010 at 5:22 PM, Matt Mackall <mpm at selenic.com> wrote:
>> Also, conversion is painfully slow, whether with hg convert or an
>> external tool like cvs2hg.  When I was playing around with various
>> ways to convert from CVS, git-fast-import was able to process several
>> gigabytes of output from cvs2git in around 1 minute, whereas cvs2hg
>> took 16 or 18 hours to generate an equivalent hg repo.  It could be
>> that I did something horribly wrong in cvs2hg, but "hg convert" and
>> hg-fastimport have similar performance problems -- so at least I'm not
>> the only one.  ;-)
>
> Conversion is, for most people, a one-time thing. I could sink a lot of
> effort into optimizing it, but I think that effort is better spent
> elsewhere.

It's also the first thing people see.  If git-fast-import takes 60 sec
where hg-fast-import (or hg convert or cvs2hg) takes 15 hours, that
gets your attention.

Also, large and complex projects -- the kind with lots of history that
take a lot of time to convert -- seem to get converted many many times
before the job is done.

Just a thought.  ;-)

Greg


More information about the Mercurial mailing list