why  real is shorter than sys in the result of time?<br><br><div class="gmail_quote">2009/3/29 Török Edwin <span dir="ltr"><<a href="mailto:edwintorok@gmail.com">edwintorok@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I tested the new clang driver, and I am very pleased with the results.<br>
Nice job!<br>
<br>
Here are the results when building ClamAV with a default ./configure<br>
(which sets CFLAGS to -O2 -g),<br>
and running time make -j4 >/dev/null:<br>
<br>
gcc-4.3:    real    0m19.615s user  0m53.727s sys   0m5.800s<br>
ccc:           real    0m16.736s user  0m39.726s sys   0m7.596s<br>
clang:       real    0m13.786s user  0m33.142s sys   0m5.136s<br>
llvm-gcc:  real    0m13.046s user    0m32.662s sys   0m5.332s<br>
ccache+gcc: real    0m4.703s  user  0m6.936s  sys  0m3.380s<br>
<br>
As you can see clang is now almost as fast llvm-gcc, and definitely<br>
faster than gcc, and the old ccc driver.<br>
I'm a bit surprised that clang isn't faster than llvm-gcc, but I think<br>
most of the time is spent in the optimizers/codegen<br>
and not in parsing (this is a C application, includes are not as huge as<br>
for C++).<br>
<br>
Best regards,<br>
--Edwin<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br>