[cfe-dev] Fwd: clang++ vs g++ compilation speed for ace-tao servants
"C. Bergström"
cbergstrom at pathscale.com
Fri Nov 8 08:59:17 PST 2013
On 11/ 8/13 05:53 AM, Igor Vagulin wrote:
> Hi Richard,
>
<snip>
> Then I thought maybe problem is x86 architecture and lack of register
> and switched to x86_64. Looks like that's the case, and people
> claiming "clang compiles faster than gcc" mean "on x86_64".
> - gcc:
> real 8m8.230s
> user 50m1.458s
> sys 3m44.313s
> - clang compiled by gcc:
> real 7m57.747s
> user 55m16.080s
> sys 1m27.786s
> - clang compiled by clang:
> real 6m41.412s
> user 44m53.298s
> sys 1m27.715s
Nice work and thanks for chasing this down... Being that gcc is c code
(until recently) and clang is c++ - I'm not surprised those extra
registers made the difference :)
More information about the cfe-dev
mailing list