Subject: Re: CVS commit: pkgsrc/mk
To: Luke Mewburn <>
From: None <>
List: pkgsrc-changes
Date: 01/04/2003 20:04:08
On Sun, 5 Jan 2003, Luke Mewburn wrote:

> On Sun, Jan 05, 2003 at 12:20:48AM +0200, Dan McMahill wrote:
>   | Modified Files:
>   | 	pkgsrc/mk:
>   | 
>   | Log Message:
>   | redo the README.html target for increased speed.  For packages with
>   | no dependencies the speedup is about 2x for ones like gnome with
>   | lots of dependencies, the speedup is aroud 400x.  The speedup is
>   | obtained by generating the dependency list in a more efficient way that
>   | only takes 1 make call per dependency instead of potentially many many
>   | make calls.
> wow!
> got any rough "timing tests" on how long it used to take to do the
> entire tree versus how long it takes now?

I still need to change the target from the top level of pkgsrc to invoke
the new code, because in that case you can create one giant database with
all the dependencies in it (which is faster than calling 'make readme' in
each directory).  In that case, my SS5 went from > 20 days to a couple of
hours.  The reduction in calls to make was about 300x in that case (around
1,000,000 originally and 3,000 after).

I should move the top level over shortly.