[darcs-users] On the darcs 1 traditional vs hashed issue

Mark Stosberg mark at summersault.com
Tue Sep 1 18:25:45 UTC 2009


> whatsnew
> --------
> 
> traditional, darcs 1.0.9:  0.25 seconds
> traditional, darcs 2.2.1:  0.28 seconds
> traditional, darcs 2.3.0: 25.35 seconds
> 
> hashed,      darcs 2.2.1:  6.74 seconds
> hashed,      darcs 2.3.0:  0.07 seconds
> 
> 
> get (local from traditional vs hashed)
> -----------
> 
> traditional, darcs 1.0.9:   8.0 seconds
> traditional, darcs 2.2.1:  18.2 seconds
> traditional, darcs 2.3.0:  34.3 seconds
> 
> hashed,      darcs 2.2.1:   5.7 seconds
> hashed,      darcs 2.3.0:   6.2 seconds
> 
> 
> The solution seems to be to switch to darcs 1 hashed format locally. I
> note that darcs-2.3 now defaults to the hashed format when getting a new
> repo. However we get no advice about existing repos and get hit with up
> to a 100x slowdown.

These benchmarks are very helpful. Thanks!

As a result, I'm going to look at converting some of my repos over the hashed
format soon.

    Mark




More information about the darcs-users mailing list