[darcs-users] [ANNOUNCE] darcs-fast-export
Miklos Vajna
vmiklos at frugalware.org
Wed Nov 26 22:18:34 UTC 2008
On Tue, Nov 25, 2008 at 02:50:51PM +0100, Miklos Vajna <vmiklos at frugalware.org> wrote:
> Ah, great. It may take a while, but I plan to do benchmarks to see how
> does darcs-fast-export compares to tailor in speed.
OK, I played a bit with this, and I found something interesting. Should
'darcs show contents' be considered as an expensive operation?
In the big-zoo, there is a hashed version of darcs' darcs repo and there
a single show takes a lot of time:
$ time darcs show contents --match 'hash 20030413181802-e9342-f2d77a4da03e9aef238eebe52a306b4f0b60803b.gz' Push.lhs >/dev/null
real 0m17.206s
user 0m6.454s
sys 0m7.821s
The annoying part is that I have the global cache as enabled here:
http://wiki.darcs.net/DarcsWiki/DarcsTwo#head-0067d46570f52895692323380bf1e4ea5a8bd1da
which claims to cache the file contents as well a bit later:
http://wiki.darcs.net/DarcsWiki/DarcsTwo#head-c9aa970d1b9bd76fde105d978fe0dfc7f6426dbd
but I get this very slow result the second time, too.
The machine itself is quite fast, 2 x Intel Core2 Duo CPU @ 2.53GHz, 4G
ram, etc.
Is this considered as "normal", or is it just me?
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081126/c5b58efd/attachment.pgp
More information about the darcs-users
mailing list