Subject: Re: Meta package for pkgsrc developer tools
To: Ronald J. Roskens <roskens@sl.econet.com>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 08/11/2006 13:11:02
--pgp-sign-Multipart_Fri_Aug_11_13:11:00_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
At Tue, 08 Aug 2006 10:47:16 -0500,
Ronald J. Roskens wrote:
>=20
> What does
>=20
> /usr/bin/time find . -mindepth 3 -maxdepth 3 -name work > /dev/null
>=20
> result in?
$ /usr/bin/time find . -mindepth 3 -maxdepth 3 -name work > /dev/null
find: -mindepth: unknown option
0.00 real 0.00 user 0.00 sys
:-) (it's a netbsd-1-6 box -- I didn't know the min/maxdepth options
were in the NetBSD-3 find until just now, but then again this thread
started out with the idea of making the command as portable as possible,
since pkgsrc gets used on a heck of a lot more than just NetBSD)
13:05 [95] $ /usr/bin/time gfind . -mindepth 3 -maxdepth 3 -name work > /de=
v/null
14.90 real 0.08 user 0.96 sys
13:06 [96] $ /usr/bin/time gfind . -mindepth 3 -maxdepth 3 -name work > /de=
v/null
0.31 real 0.03 user 0.26 sys
13:06 [97] $ /usr/bin/time gfind . -mindepth 3 -maxdepth 3 -name work > /de=
v/null
0.44 real 0.08 user 0.22 sys
(first run is the first access of that tree in a day or so)
That's much closer to the shell glob speed at least, within an order of
magnitude or less.
--=20
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>
--pgp-sign-Multipart_Fri_Aug_11_13:11:00_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: IS5xLm7SdIxUZuiygY4rqQgJCrapn0ID
iQA/AwUBRNy6JmJ7XxTCWceFEQKaIgCgyXxDOT247bGgsMsrilYQlf81rZIAoILd
jrsjxvosWp0F+rBgPHA5Qs96
=XCkd
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Fri_Aug_11_13:11:00_2006-1--