Re: Looking for speed increases in "make index" and pkg_version for ports
- From: Garrett Cooper <youshi10@xxxxxxxxxxxxxxxx>
- Date: Mon, 28 May 2007 11:43:28 -0700
Garrett Cooper wrote:
Mike Meyer wrote:In <465AB421.10802@xxxxxx>, Hartmut Brandt <hartmut.brandt@xxxxxx> typed:1. make and its sub-makes for a) reading the file; b) parsing the file
(note that .if and .for processing is done while parsing); c) processing
targets.
Make and submakes have been gone over already. See <URL:
http://miller.emu.id.au/pmiller/books/rmch/ >.
I'm not sure it can be applied to the ports tree, though. I haven't
looked into it, but recalled this paper when you mentioned measuring
makes and sub-makes.
<mike
Reducing the number of variables will certainly cut down on the amount of overhead in the make/submake context switches by a long shot.
Maybe someone should consider running a 'pre-make' using the .mk files, find the variables of interest for all particular sub-ports, and then carry on the 'root make', i.e. make process in each port directory, with just the variables of interest.
-Garrett
s/long shot/possibly a lot/g
Also, I was thinking in particular of the X.Org 7.2 packages, because the bulk majority of the packages are smaller, and compile in a short amount of time.
-Garrett
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Looking for speed increases in "make index" and pkg_version for ports
- From: Stephen Montgomery-Smith
- Re: Looking for speed increases in "make index" and pkg_version for ports
- From: Hartmut Brandt
- Re: Looking for speed increases in "make index" and pkg_version for ports
- From: Mike Meyer
- Re: Looking for speed increases in "make index" and pkg_version for ports
- From: Garrett Cooper
- Looking for speed increases in "make index" and pkg_version for ports
- Prev by Date: Re: Looking for speed increases in "make index" and pkg_version for ports
- Next by Date: Re: Looking for speed increases in "make index" and pkg_version for ports
- Previous by thread: Re: Looking for speed increases in "make index" and pkg_version for ports
- Next by thread: Re: Looking for speed increases in "make index" and pkg_version for ports
- Index(es):
Relevant Pages
|