<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 14, 2015 at 8:21 PM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Xcode 6.1.1 was released a little over a month ago, so I decided to do some benchmarking to see how well its C compilers (Apple clang 6.0 and Apple gcc 6.0) compare against GNU gcc 4.9.2 when compiling Gambit.<br>
<br>
I configured and built Gambit with<br>
<br>
./configure --enable-single-host CC="<C_COMPILER>"<br>
make -j8<br>
<br>
I report the build time for each compiler and the execution time of test 4 (which measures the speed of the interpreter, which is indicative of the relative speed of the code generated by Gambit). Here are the numbers:<br>
<br>
Build test4 C compiler<br>
(secs) (secs)<br>
<br>
60.31 1.30 GNU gcc 4.9.2<br>
2042.98 (34x) 3.05 (2.3x) Apple clang 6.0<br>
1875.56 (31x) 3.08 (2.4x) Apple gcc 6.0<br></blockquote><div><br><br></div><div>Thank you for the benchmarks, Marc. It seems that GCC still greatly outperforms Apple's GCC/Clang with Gambit code. Do you have any idea if it is a particular optimization that is producing this divergence, or is just the accumulation of small differences?<br><br></div></div></div></div>