darcs

Issue 451 add => use of boring file causes severe slow down

Title add => use of boring file causes severe slow down
Priority bug Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, sburson, thorkilnaur, tommy, virusalert
Assigned To
Topics Performance

Created on 2007-05-06.20:10:43 by sburson, last changed 2009-08-27.13:53:45 by admin.

Messages
msg1676 (view) Author: sburson Date: 2007-05-06.20:10:34
This is in 1.0.9rc2.  I do a recursive add to import a tree into a newly
initialized repo.  CPU time for `darcs add': 16 sec.  I `rm -rf _darcs',
reinitialize, do `cp _darcs/prefs/boring .boring', then `darcs setpref
boringfile .boring', then redo the `darcs add'.  CPU time this time: a whopping
996 sec.!

Any idea why?
msg1691 (view) Author: droundy Date: 2007-05-12.14:57:42
On Sun, May 06, 2007 at 08:10:44PM +0000, Scott L. Burson wrote:
> This is in 1.0.9rc2.  I do a recursive add to import a tree into a newly
> initialized repo.  CPU time for `darcs add': 16 sec.  I `rm -rf _darcs',
> reinitialize, do `cp _darcs/prefs/boring .boring', then `darcs setpref
> boringfile .boring', then redo the `darcs add'.  CPU time this time: a whopping
> 996 sec.!
> 
> Any idea why?

No, this surprises me.  Any chance you could write up a script that
reproduces this? Ideally, I'd imagine something that generates the tree to
be added in the script itself.  I imagine just creating empty files will
work just fine to reproduce this.

And thanks for the bug report! I imagine once we can easily reproduce this,
it won't be too hard to track down the problem--which really has to be a
bug (albeit a performance bug), from what you describe.
-- 
David Roundy
http://www.darcs.net
msg2953 (view) Author: markstos Date: 2008-01-31.04:19:11
Since no example to reproduce this has appeared in the last six months, I'm
considering it "presumed-dead" by marking it "wont-fix".

Please re-open if the bug wakes from the dead. 

   Mark
History
Date User Action Args
2007-05-06 20:10:43sbursoncreate
2007-05-12 14:57:52droundysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, sburson
messages: + msg1691
2007-06-11 13:04:28virusalertsetfiles: + unnamed
nosy: + virusalert
messages: + msg1714
2007-07-16 21:57:13koweysetfiles: - unnamed
nosy: droundy, tommy, beschmi, kowey, sburson, virusalert
2007-07-16 21:57:19koweysetmessages: - msg1714
2007-07-16 21:57:27koweysettopic: + Performance
2008-01-31 04:19:13markstossetstatus: unknown -> wont-fix
nosy: + markstos
messages: + msg2953
title: Boringfile performance shocker -> add => use of boring file causes severe slow down
2009-08-06 17:40:53adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, sburson, virusalert
2009-08-06 20:38:05adminsetnosy: - beschmi
2009-08-10 22:03:55adminsetnosy: + sburson, virusalert, - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:54:26adminsetnosy: + darcs-devel, - simon
2009-08-27 13:53:45adminsetnosy: tommy, kowey, markstos, darcs-devel, sburson, virusalert, thorkilnaur, dmitry.kurochkin