[darcs-users] performance regression in check/repair

Trent W. Buck twb at cybersource.com.au
Tue Jan 19 01:18:02 UTC 2010

Petr Rockai wrote:
> twb at cybersource.com.au (Trent W. Buck) writes:
>> This is a known problem.  I can't remember where it is in the BTS, but
>> we were talking about it on #darcs.  Here's the minimal test: [...]
>> I'm using hashed-storage-0.4.4 and Darcs 2.3.1 (+ 426 patches).
> Are you sure?

I was sure; now you've made me doubt.  I made a fresh build just now,
and the problem is gone:

    $ PATH=~/.cabal/bin-linux:$PATH with-temp-dir bash -ec 'darcs --version; darcs --exact-version |& head; darcs init; mkdir d; darcs rec -qlamd; darcs check'
    with-temp-dir: entering directory `/tmp/with-temp-dir.pwTpNW'
    2.3.1 (+ 437 patches)
    darcs compiled on Jan 19 2010, at 11:29:30


    [resolve issue1731: bump hashed-storage dependency to 0.4.5
    Reinier Lamers <tux_rocker at reinier.de>**20100117205223
     Ignore-this: c6e300b3c56d85b425306530b4d6c7be

    [Better characterisation of Eric's time.
    Finished recording patch 'd'
    The repository is consistent!
    with-temp-dir: leaving directory `/tmp/with-temp-dir.pwTpNW'

The $PATH thing is because current cabal turns "$arch" into "linux"
instead of "x86-64" :-/

More information about the darcs-users mailing list