[darcs-devel] [issue1589] darcs unpull --last=1 takes 7 seconds

Simon Marlow bugs at darcs.net
Sun Aug 30 12:10:52 UTC 2009

New submission from Simon Marlow <simonmar at microsoft.com>:

With a hashed GHC repository, "darcs unpull --last=1 -a" takes over 7 seconds
with a recent darcs (tested 2.2, 2.3, and darcs-hs).

Profile attached.  The problem seems to be that darcs is optimising the
inventory, although the inventory is already optimised and nothing needs to be
done.  It is apparently writing out about 30% of my inventory files (going by
the modification times on the inventory files).

To reproduce: get a hashed GHC repository (http://darcs.haskell.org/ghc), and
run "darcs unpull --last=1 -a".

files: darcs-unpull-1.prof.gz
messages: 8593
nosy: darcs-devel, dmitry.kurochkin, kowey, simonmar
status: unknown
title: darcs unpull --last=1 takes 7 seconds

Darcs bug tracker <bugs at darcs.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs-unpull-1.prof.gz
Type: application/x-gzip
Size: 36487 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20090830/3260985c/attachment-0001.bin>

More information about the darcs-devel mailing list