performance problem with hg 1.3 over ssh?

Matt Mackall mpm at selenic.com
Wed Jul 8 10:51:05 CDT 2009


On Tue, 2009-07-07 at 21:32 -0700, Stuart W. Marks wrote:
> I've noticed a severe performance degradation with hg 1.3 compared to 1.2.1. It 
> occurs with the 1.3 Mac binary package I downloaded from mercurial.berkwood.com 
> as well as with installations I've built from sources.
> 
> The problem occurs when pulling changes from a repo over ssh. For a moderately 
> sized repo (14MB in .hg, 567 files), with 1.2.1 this operation takes less than 
> 8 seconds but with 1.3 it takes about 48 seconds! For larger repos the slowdown 
> is proportional, a factor of 6x to 8x slower. The slowdown also occurs when 
> doing incoming or clone, when the source repo is over ssh.

Can't reproduce it here on Linux. Is there a particular stage of the
pull that takes noticeably longer?

I cloned the hg repo up to 1.2 into hg-a and hg-b. Then I pulled up to
tip (1188 csets) over ssh via hg 1.3 (3.5s) and 1.2 (3.7s). 

Only one thing has changed in the wire protocol (finding named branch
heads), but it should only matter for pushing.

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




More information about the Mercurial mailing list