monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] projects using monotone?


From: Zbynek Winkler
Subject: Re: [Monotone-devel] projects using monotone?
Date: Fri, 21 Oct 2005 10:59:46 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

Nathaniel Smith wrote:

On Thu, Oct 20, 2005 at 11:12:57PM +0200, Zbynek Winkler wrote:
2) compilation time http://lists.gnu.org/archive/html/monotone-devel/2005-06/msg00136.html - this has improved mainly with gcc4.0 to the point that I am able to compile from source but it is still a major pain in the ... because any fixes I could try (or develop myself) take just to much time :(
Yeah, this really is annoying.  Sorry about that.

Maybe someone would be interested in looking at adding precompiled
header support to the build system?  It's got some funky pitfalls:
  http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/Precompiled-Headers.html
but should be reasonably straightforward.  I don't know how much of a
win it would be.  Anything that made builds faster would sure help...
I did some testing. The best time for compiling automate.cc I got was somewhere around 38s (with hot cache, otherwise it is much worse). When precompiling all of the headers it uses, I was able to get that down to 21s. However, precompiling only the boost headers yielded 23s. The precompiled header file is somewhere between 50-60MB so it seams that precompiling boost would be useful compromise because the same header can be used for compiling all files...

Zbynek

PS. I tested it by adding '-include preboost.h' to the command line after precompiling the attached header but don't know how to integrate such a thing to the build system.

--
http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic

#include <boost/bind.hpp>
#include <boost/config.hpp>
#include <boost/cstdlib.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/dynamic_bitset.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/format.hpp>
#include <boost/function.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/optional.hpp>
#include <boost/random.hpp>
#include <boost/regex.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/static_assert.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/test/unit_test_suite.hpp>
#include <boost/tokenizer.hpp>
#include <boost/tuple/tuple_comparison.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/version.hpp>
#include <boost/circular_buffer.hpp>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]