[darcs-users] darcs patch: A very crude hack to allow cold-cache measurement (on ...

Eric Kow kowey at darcs.net
Sat Feb 20 16:27:07 UTC 2010


On Sat, Feb 20, 2010 at 17:09:42 +0100, Petr Rockai wrote:
> ==============  ============ ==============  ===========
>                        darcs                       darcs
> ==============  ============ ==============  ===========
>     get (full)     0.7s,1.0M     get (full)    0.0s,1.0M
>     get (lazy)     0.4s,1.0M     get (lazy)    0.0s,1.0M
>       pull 100     0.9s,3.0M       pull 100    0.2s,3.0M
>             wh  223.5ms,0.0M             wh   7.2ms,0.0M
>         wh mod  254.5ms,0.0M         wh mod   7.3ms,0.0M
>          wh -l  335.8ms,1.0M          wh -l   7.6ms,1.0M
>     record mod  499.5ms,2.0M     record mod  36.2ms,2.0M
>     revert mod  397.6ms,2.0M     revert mod  17.9ms,2.0M
> (un)revert mod  410.6ms,2.0M (un)revert mod  49.9ms,2.0M
> ==============  ============ ==============  ===========

Quite a difference.

Although then again, I don't know if that's under the perceptibility
threshold.  Good to have this around in any case for reference.

> These are with --cold and without --cold respectively. I am posting this mostly
> because I am running out of time and if anyone else finds a bit of time to make
> this less crude, they could. Feel free to not use this patch at all and take a
> fresh start. Tis' a proof-of-concept really.

I'm going to push this and hope somebody else can run with it.

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100220/74ce1669/attachment.pgp>


More information about the darcs-users mailing list