On Tue, Nov 25, 2008 at 02:50:51PM +0100, Miklos Vajna <[EMAIL PROTECTED]> 
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.

Attachment: pgpb6Avg4ZUR0.pgp
Description: PGP signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to