FreeBSD needs fresh Blood!
wblock at wonkity.com
Mon Mar 7 05:24:27 UTC 2011
On Sun, 6 Mar 2011, Doug Barton wrote:
> On 03/06/2011 17:59, Warren Block wrote:
>> pkg_version is somewhat faster.
> True, but 'portmaster -L' (with a ports tree) gives you more information.
> Such as when ports you have installed have been DEPRECATED or MOVED. :)
> 'portmaster -L --index-only' is very competitive in terms of wall clock time
> with any other method.
It continues to amaze me how much you have in there. Oh, and my times
earlier were probably user time rather than wall time, for which I'll
shiftily blame the difference between csh's time builtin and
/usr/bin/time. Redoing that:
portmaster -L | filterfu: 43.6
pkg_version -vl'<': 30.5
portversion -vl'<': 3.6
portmaster -L --index-only: 2.5
As a bonus, the last one is not only the fastest but provides more
useful information. Off to change my update script...
More information about the freebsd-ports