darcs

Issue 198 darcs get --to-match extremely slow

Title darcs get --to-match extremely slow
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List andrew, darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics Performance

Created on 2006-07-03.20:25:21 by andrew, last changed 2009-08-27.14:04:36 by admin.

Messages
msg732 (view) Author: andrew Date: 2006-07-03.20:25:18
When I do something like:

darcs get --verbose --to-match "hash  
20050421043628-8498e-6fac25ad05cf9a870c0eee854fb4ff386a271268" /home/ 
Repos/unstable/ /home/andrewm/test

at the "Writing working directory" stage darcs takes many minutes and  
does several GB of IO... yet:

  zcat /home/Repos/unstable/_darcs/patches/ 
20050421043628-8498e-6fac25ad05cf9a870c0eee854fb4ff386a271268.gz | wc
   27731  105819  771252

the patch is only 771kB, and consists entirely of 131 new files.  The  
target repository is empty to start with, the source repository  
contains 282 patches totalling 255MB gzipped.

Andrew
msg2472 (view) Author: markstos Date: 2008-01-14.04:00:53
Andrew,

Is there a possibility you could test again with a darcs-2 pre-release binary by
first converting the source repo to the "darc2" format? ("darcs convert old new"
is all it takes.) ? 

There are binaries for the Darcs 2 prelease built for Mac and Linux and
available here:

http://wiki.darcs.net/index.html/DarcsTwo
   
    Mark
msg3472 (view) Author: markstos Date: 2008-02-16.02:08:52
I consider this resolved-in-unstable after doing my own testing tonight. I
tested with the darcs-unstable repo (in --darcs-2 format), copying about 5,000
patches and 30M of total data. This went rather quickly. (< 1 min).
History
Date User Action Args
2006-07-03 20:25:21andrewcreate
2007-07-16 01:18:04koweysettopic: + Performance
nosy: + kowey, beschmi
2008-01-14 04:00:55markstossetstatus: unread -> unknown
nosy: + markstos
messages: + msg2472
2008-02-16 02:08:52markstossetstatus: unknown -> resolved-in-unstable
nosy: droundy, tommy, beschmi, kowey, markstos, andrew
messages: + msg3472
2008-09-04 21:28:36adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:38:41adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, andrew
2009-08-06 20:35:32adminsetnosy: - beschmi
2009-08-10 21:52:29adminsetnosy: + andrew, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:54:44adminsetnosy: - dagit
2009-08-25 17:52:21adminsetnosy: + darcs-devel, - simon
2009-08-27 14:04:36adminsetnosy: tommy, kowey, markstos, darcs-devel, andrew, thorkilnaur, dmitry.kurochkin