How to speed up diff computing?

Ulrich Pfeifer pfeifer at wait.de
Fri Feb 20 16:29:45 CST 2009


Hello,

> There are significant speed improvements for calculating deltas for
> large files between 0.9.5 and 1.0, yes.

good to know, thanks.

Meanwhile I have seen some weired behavior on the machine.  Running "hg
log -l 1" on the big repository repeatedly takes from 1.3 to over 20
seconds.  The box is idle and there is no swapping.  The files are on
the local disk .... if have no idea were the delays come from.

I am looking more closely on the machine now.  Sorry for the fuzz.

Ulrich

Matt Mackall wrote:
> On Fri, 2009-02-20 at 19:32 +0100, Ulrich Pfeifer wrote:
>> Hello,
>>
>>  > How big is the largest file in your repository and how much memory do
>>  > you have on your server? Are you seeing significant swapping on your
>>  > server?
>>
>> the central server is a 16GB 2 processor sun workstation.  It does not
>> swap.  The repository contains 25308 change sets and the active file
>> set is 13781 files.  There are a number of binary big files in it
>> (2-4MB).  I have to admit, that it runs a pretty old version of
>> mercurial (0.9.5).  We will upgrade eventually - would you expect
>> significant speedup?
> 
> There are significant speed improvements for calculating deltas for
> large files between 0.9.5 and 1.0, yes. 
> 


More information about the Mercurial mailing list