|
Boost Users : |
Subject: Re: [Boost-users] g++ compilation is slow with Boost's constructs
From: Roland Bock (rbock_at_[hidden])
Date: 2010-09-07 17:20:49
On 09/07/2010 09:08 PM, OvermindDL1 wrote:
> On Tue, Sep 7, 2010 at 9:46 AM, Ilya Murav'jov<muravev_at_[hidden]> wrote:
>
>> Klaim пиÑеÑ:
>>
>>
>>> msvc), and CLang is also meant to be radically faster than GCC. See
>>> http://clang.llvm.org/performance.html
>>>
>>>
>> There is nothing about C++, only about C and Objective-C. Anything more
>> about Clang?
>>
> In my own personal experience, clang is about 500% faster then GCC on
> my Ubuntu system with identical highly templated Boost code, but then
> I have GCC 4.4 installed as well, GCC 4.5 is a *lot* faster in many
> cases then 4.4. GCC in general does still produce faster code then
> clang though, so it is a trade-off.
>
ccache might help, if you recompile things often. It is a wrapper for
gcc which caches compilation results. Very nice :-)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net