pure-python mercurial

Matt Mackall mpm at selenic.com
Thu Mar 5 11:04:12 CST 2009


On Thu, 2009-03-05 at 06:10 +0000, TK Soh wrote:
> On Thu, Mar 5, 2009 at 5:57 AM, Weijun Wang <Weijun.Wang at sun.com> wrote:
> > TK Soh wrote:
> >> I am actually using this changeset. BTW, does it only affect commit as
> >> Weijun said?
> >
> > Well, what do you expect to see from diff of a binary file?
> 
> The true is I don't know what to expect, since I don't know where
> base85 hits. But doing benchmarking with diff is much easier than
> commit for me.

Things that will be slower:

revlog index parsing (> 4x)
revlog delta generation (> 6x)
revlog delta reconstruction (~ 10x)
manifest parsing (> 4x)
dirstate parsing (> 4x)
directory traversal for status (> 4x)
base85 encoding (40x)

Mercurial was pretty fast before any of the above were added, so it
ought to still be plenty usable for most purposes.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list