<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 17, 2016 at 6:32 PM, Davide Italiano via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Dec 17, 2016 at 1:35 PM, Davide Italiano <<a href="mailto:davide@freebsd.org">davide@freebsd.org</a>> wrote:<br>
[...]<br>
<span class=""><br>
> I don't have an infrastructure to measure the runtime performance<br>
> benefits/regression of clang, but I have for `game7`.<br>
> I wasn't able to notice any fundamental speedup (at least, not<br>
> something that justifies a 2x build-time).<br>
><br>
<br>
</span>Just to provide numbers (using Sean's Mathematica template, thanks),<br>
here's a plot of the CDF of the frames in a particular level/scene.<br>
The curves pretty much match, and the picture in the middle shows a<br>
relative difference of 0.4% between Jun and Dec (which could be very<br>
possibly be in the noise).<br></blockquote><div><br></div><div>With 5-10 runs per binary you should be able to reliably measure down to 0.5% difference on game7 (50 usec difference per frame). With just one run per binary like you have here I would not trust a 0.4% difference.</div><div><br></div><div>-- Sean Silva</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On the same scene, the difference between -O3 and -flto is 12%, FWIW.<br>
So it seems that at least for this particular case all the compile<br>
time didn't buy any runtime improvement.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Davide<br>
<br>
"There are no solved problems; there are only problems that are more<br>
or less solved" -- Henri Poincare<br>
</div></div><br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div></div>