I wrote:
> I seriously doubt that last statement. Building the global makefile
> takes about 20 seconds on the box I compile on. On a kernel tree
> without object files I can read all the files in the kernel tree in
> about 0.8 seconds, and I can calculate an md5sum of every file in 3.2
> seconds. I can do an md5sum of all the Makefile.in's in 0.1 seconds.
> This is with pp_makefile* compiled with -O2 -DNDEBUG=1.
I made a mistake, the time to build the global makefile is in fact
around 12 seconds with -O2 -DNDEBUG=1. And I should point out that
this is a machine with enough RAM to keep the whole kernel tree in
memory (so disk bandwidth is not an issue).
I still think that the time to build the global makefile is big enough
and obvious enough that many people (including myself) will want to
see it optimized, either by making the process itself more efficient
or by caching the result and re-using it where possible.
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:22 EST