On Thu, Nov 27, 2008 at 08:58:39AM +0000, Eric Kow <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 26, 2008 at 23:18:34 +0100, Miklos Vajna wrote:
> > $ time darcs show contents --match 'hash 
> > 20030413181802-e9342-f2d77a4da03e9aef238eebe52a306b4f0b60803b.gz' Push.lhs 
> > >/dev/null
> > real  0m17.206s
> > user  0m6.454s
> > sys 0m7.821s
> 
> darcs show contents --debug --timings  might be interesting

I've used:

sh -c "time darcs show contents --debug --timings --match 'hash
20030413181802-e9342-f2d77a4da03e9aef238eebe52a306b4f0b60803b.gz'
Push.lhs" >/dev/null 2> darcs-show-contents.log

And the result is:

http://frugalware.org/~vmiklos/logs/darcs-show-contents.log

$ darcs --version
2.1.2 (+ 266 patches)

It seems that it's slow because it goes through each patches. If I
understand correctly, then this is because of a decision on "we store
patches only, not the contents", so in that case 18sec may be fast
enough.

Attachment: pgpTlL7Gsh1gs.pgp
Description: PGP signature

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

Reply via email to