FreeBSD Ports statistics
John Arbash Meinel
john at arbash-meinel.com
Sat Sep 2 00:39:18 BST 2006
Matthew D. Fuller wrote:
> On Fri, Sep 01, 2006 at 06:20:01PM -0500 I heard the voice of
> John Arbash Meinel, and lo! it spake thus:
>> Actually, that isn't true. If you repeat the same update command,
>> the second invocation sees that the file isn't out of date, so it
>> doesn't do anything.
>
> I swapped between two revs.
>
> e.g., a quick scratch rev with 2 versions of 'foo':
>
> -r1.2
> 0.000u 0.013s 0:00.64 1.5% 0+0k 0+0io 0pf+0w
>
> -r1.1
> 0.000u 0.012s 0:00.13 7.6% 0+0k 0+0io 0pf+0w
>
> -r1.2
> 0.000u 0.012s 0:00.69 1.4% 0+0k 0+0io 0pf+0w
>
> -r1.1
> 0.000u 0.012s 0:00.36 2.7% 0+0k 0+0io 0pf+0w
>
> -r1.2
> 0.000u 0.013s 0:00.41 2.4% 0+0k 0+0io 0pf+0w
>
> -r1.1
> 0.000u 0.012s 0:00.83 1.2% 0+0k 0+0io 0pf+0w
>
>
>
> Presumably, the variation is just from when in the second I call it.
> Pfeh.
Oddly, I did this:
cvs update -r 1.1
time cvs update -r 1.2 file1
time cvs update -r 1.2 file2
time cvs update -r 1.2 file3
And all of them took 1s.
And if I did 'cvs update -r 1.1' to reset them, it would do it all over
again.
I don't remember the specific files I was working on. It was in the
ports tree, and I was copying the command that ports was using.
So it was some sort of 'cvs -d repository update -d -r 1.1 path/to/file'
command. And the final revisions might have been more 1.5 or something.
But I did find that if I ran it repeatedly, without the reset, the times
all dropped. Maybe it matters that the files were in different
directories. I don't really know.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060901/5164d3bd/attachment.pgp
More information about the bazaar
mailing list