Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2007 10:36:27 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        freebsd-ports@freebsd.org
Cc:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Subject:   Re: Time to abandon recursive pulling of dependencies?
Message-ID:  <20070518103627.ukyyl9db40g8o8c8@webmail.leidinger.net>
In-Reply-To: <20070517175257.29f933fc@deskjail>
References:  <464597C6.3030406@gmx.de> <20070512174011.GA22526@xor.obsecurity.org> <4645FF71.60100@gmx.de> <20070512175824.GA23103@xor.obsecurity.org> <20070512133054.B5588@math.missouri.edu> <4646193E.5040503@gmx.de> <464665D5.1090509@math.missouri.edu> <464676CC.2000203@math.missouri.edu> <46469BF5.9030603@math.missouri.edu> <1179058696.13237.3.camel@ikaros.oook.cz> <20070513101332.L82202@math.missouri.edu> <46479215.1080401@math.missouri.edu> <4647C4FB.9050607@math.missouri.edu> <4647F182.6000402@gmx.de> <46487491.6020806@math.missouri.edu> <46488168.3030300@math.missouri.edu> <464B155A.1080105@math.missouri.edu> <464B7144.2000600@math.missouri.edu> <1179353641.79329.11.camel@rnoland-ibm.acs.internap.com> <20070517114436.3fdd55b1@deskjail> <20070517134529.7f2453ca@deskjail> <464C5543.4060106@math.missouri.edu> <20070517175257.29f933fc@deskjail>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Alexander Leidinger <Alexander@Leidinger.net> (from Thu, 17 =20
May 2007 17:52:57 +0200):

> Quoting Stephen Montgomery-Smith <stephen@math.missouri.edu> (Thu,  =20
> 17 May 2007 08:14:43 -0500):
>
>> Alexander Leidinger wrote:
>> > Quoting Alexander Leidinger <Alexander@Leidinger.net> (Thu, 17  =20
>> May 2007 11:44:36 +0200):
>> >
>> >> For the difference between the redirected output case: I think the
>> >> gnome terminal needs a lot of time to print all the lines. But still,
>> >> the awk version takes around 3/4 of the time (interesting is the user
>> >> time, not the total time). Stephen's version can be speed up some
>> >> fractions by inserting a break into the first while-loop.
>> >>
>> >> Attached is my awk-version and the awk version which also includes the
>> >> direct dependencies.
>> >
>> > After a little review: For the awk version the embedded "sort -u" can
>> > be removed (it is done in the PKG_ARGS part), for Stephen's version it
>> > is necessary to cut down processing time in the following part.
>>
>> Agreed
>
> I played around a little bit with this, new version attached (simple
> error handling in awk, doing just one awk for all files).

Just a small note: I just got this down to about 5sec total on my =20
system. I replaced some basename and dirname calls with =20
shell-variable-mangling based upon a suggestion of Roman Divacky. I =20
think I'm going to submit this to GNATS this WE.

Bye,
Alexander.

--=20
Coming together is a beginning;
=09keeping together is progress;
=09=09working together is success.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070518103627.ukyyl9db40g8o8c8>