On Mon, Dec 03, 2007 at 11:33:54PM +0100, Jean-Marc Lasgouttes wrote:
> Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> 
> >> The time for a null-build is more or less proportional to the number of
> >> directories...
> >
> > Wasn't your cleanup in this area meant to avoid this slowdown? You
> > could perhaps merge all Makfiles into one (the one in the top src/
> > directory). A bit like what is done with scons_manifest.
> 
> Or take two of these pink pills and forget about this obsession with
> null-build. Being so concerned about doing /nothing/ efficiently is a
> bit strange...

The null-build time is almost half of the time to build LyX after a trivial
change. I.e. with a warm cache I have:

[EMAIL PROTECTED]:/suse/usr/src/lyx/build > time make
real    0m4.114s
user    0m3.840s
sys     0m0.200s

[EMAIL PROTECTED]:/suse/usr/src/lyx/trunk/src > touch boost.cpp
[EMAIL PROTECTED]:/suse/usr/src/lyx/build > time make
real    0m8.690s
user    0m6.768s
sys     0m1.440s

So keeping this small _does_ matter.

[And of course, the contribution of the nullbuild would be even 
larger without libtools...]


Andre'

Reply via email to