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...
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to