11 Sep
2010
11 Sep
'10
10:10 p.m.
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.