Boost logo

Boost Users :

Subject: Re: [Boost-users] g++ compilation is slow with Boost's constructs
From: Ilya Murav'jov (muravev_at_[hidden])
Date: 2010-09-11 18:10:45


OvermindDL1 пишет:
>> Guess I should use the same parameters you did, here it is:
>> home:/home/overminddl1/projects/testingrandom# time g++ test.cpp -c -g -O0 -pipe
>>
>> real 0m9.404s
>> user 0m5.500s
>> sys 0m1.608s
>> home:/home/overminddl1/projects/testingrandom# time
>> ~/llvm/Release/bin/clang++ test.cpp -c -g -O0 -pipe
>>
>> real 0m4.644s
>> user 0m2.948s
>> sys 0m0.240s

Yes, -g making things slower.

>
> And compiling it in MSVC2k5 I got:
> Release:
> Build Time 1:28
> Debug:
> Build Time 1:00
>
> In MSVC2k5 I was using WinXP 32-bit, for clang++/g++ I was using
> Ubuntu 10.04 in a virtual machine with hardware virtualization enabled
> on top of this WinXP 32-bit machine.

I assume 1:00 means 1 second, not 1 minute. :)
Then it is quite fast.


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