Date: Tue, 22 May 2007 20:29:04 -0500 From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: Pav Lucistnik <pav@freebsd.org> Cc: gnome@freebsd.org, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: More speed increases for make-ing ports Message-ID: <465398E0.40404@math.missouri.edu> In-Reply-To: <20070522172627.A52261@math.missouri.edu> References: <465291FB.4010901@math.missouri.edu> <20070522071941.GB59910@xor.obsecurity.org> <4652FFB4.8060107@math.missouri.edu> <1179846295.52353.27.camel@pav.hide.vol.cz> <4653349D.7080608@math.missouri.edu> <46533D66.1070305@math.missouri.edu> <1179868612.83498.6.camel@ikaros.oook.cz> <1179869940.83498.9.camel@ikaros.oook.cz> <20070522165525.S52261@math.missouri.edu> <1179871899.83498.10.camel@ikaros.oook.cz> <20070522172627.A52261@math.missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Montgomery-Smith wrote: > > > On Wed, 23 May 2007, Pav Lucistnik wrote: > >> Stephen Montgomery-Smith p?e v ?t 22. 05. 2007 v 16:56 -0500: >> >>>> I have generated two INDEXes, one with the patch and one without. >>> They >>>> are identical, the timings: >>>> >>>> INDEX-orig >>>> real 16m32.761s >>>> user 18m36.802s >>>> sys 8m38.610s >>>> >>>> INDEX-ddd >>>> real 16m34.620s >>>> user 17m25.976s >>>> sys 8m46.333s >> >>> Sorry it didn't work out. Thanks for trying it. >> >> Don't get me wrong - the minute saved here is good enough reason to >> apply that patch. >> >>> Could you try the "shell" one also? I got the impression it was a bit >>> faster. >> >> Can you send me the patch? > > Yes. In the same place as the previous one you put: > > .ifdef _USE_GNOME > _USE_GNOME!=(for i in ${_USE_GNOME}; do ${ECHO_CMD} $$i; done) | sort -u > .endif > > I'm going to try it out myself also to see if it is faster. I tried it out. On my rather fast computer, I am getting similar times. The non-shell patch seems slightly better, but there is not much between that and the shell patch. Both patches give something like 7% speed improvements over the original. It only potentially speeds up gnome ports, and then only a few of them like alacarte, so even if it dramatically speeds those few up, the average speed up over all ports will not be so great. Like I said earlier, overall improvement is noticeable albeit not dramatic. Stephen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?465398E0.40404>