Status of speed regressions...

Jason Harris jason at jasonfharris.com
Fri Nov 19 11:40:08 CST 2010


Hi All,

I was just wondering what the status of fixing the speed regressions is? Are there patches I can apply?

As many of you will know the proscribed way for clients like, MacHg, Murky, SourceTree, etc is to work through the normal command interface, ie not link directly to the internals of Mercurial. As such if there is a 20% or more slow down in Mercurial, our tools become 20% slower (or more). Often due to refreshing and other issues these clients issue many mercurial commands a second. At least MacHg sometimes does in order to be in sync with changes, queries, etc.

I have a MacHg with Mercurial 1.5.4 (baseline) with 1.6.4 (10-15% slower) and with 1.7.1 (20% slower). I can publish timings but I think others have noticed this as well...

Are there patches available I should apply to 1.7.1 in order to eliminate this slow down?

I would really like to upgrade to 1.7.1 since it has a new encoding for repositories (I have had one user note this already and this of course will only increase in the future). In addition there are some nice useful commands in 1.7 I would like to use in MacHg... (I could remove my code that MacHg has to do linear backouts and now just use the code in Mercurial since its been "fixed" in mercurial proper, named patch queues, the --tool option, stripping of multiple revs, etc...)

Thanks!
 Jason


More information about the Mercurial-devel mailing list