<div dir="rtl"><div dir="ltr">Here is a boost::numeric example that compiles quite slow. It requires boost headers only.</div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2015-06-03 2:07 GMT+03:00 Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I was about to suggest the same, you can add /Bt+ to msvc to print out compile times for individual files. Find the slowest one and try it with clang (I guess you can use PowerShell¬†<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__superuser.com_questions_228056_windows-2Dequivalent-2Dto-2Dunix-2Dtime-2Dcommand&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=x2-INTSPs_xQUUUpDT15A5D-tZ4u4kF61MNE1tl0QAo&s=q8y9tHuCyeGCToLaklAipdBINdvO_0-rwoZc3TzsGO0&e=" target="_blank">http://superuser.com/questions/228056/windows-equivalent-to-unix-time-command</a>).</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 3, 2015 at 6:50 AM, Sean Silva <span dir="ltr"><<a href="mailto:chisophugis@gmail.com" target="_blank">chisophugis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Jun 1, 2015 at 9:27 AM, Dennis Luehring <span dir="ltr"><<a href="mailto:dl.soluz@gmx.net" target="_blank">dl.soluz@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">i only compared Microsoft CL with cl-clang (from <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_builds_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=F0-TlLu8wZj-QcYcLWTpmo251k1w1lbeo5uj1fjNZAY&s=ItGDeRxbJmbIQjxkgyIWRU9bq4xH9Rto6dcnFcaQxS4&e=" target="_blank">http://llvm.org/builds/</a>)<br>
and cl-clang is ~2 Times slower in build<br>
<br>
there is no small example available - my project is closed and my open source dependecy Xerces 3.1.2<br>
is not compilable, other open souce projects mentioned (last posts) are not buildable with cl-clang<br></blockquote><div><br></div></span><div>Can you maybe try compiling a couple files of the open source project in isolation to see if you can narrow things down to a single representative file?</div><span><font color="#888888"><div><br></div><div>-- Sean Silva</div></font></span><div><div><div>¬†</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
you need a VStudio Project with a least 1-2 minutes build-time - then switch to<br>
cl-clang and compare the build-time<div><div><br>
<br>
<br>
Am 01.06.2015 um 18:15 schrieb Yaron Keren:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I wouldn't expect clang-cl (targeting VC) build time to be different than<br>
clang (targeting mingw), so the difference is probably not clang on WIndows<br>
specifically but rather clang in general.<br>
Could you send a small example outlining the difference?<br>
<br>
<br>
<br>
2015-06-01 18:54 GMT+03:00 Dennis Luehring <<a href="mailto:dl.soluz@gmx.net" target="_blank">dl.soluz@gmx.net</a>>:<br>
<br>
> i've got the same compilation difference between cl and cl-clang using the<br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_builds_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=F0-TlLu8wZj-QcYcLWTpmo251k1w1lbeo5uj1fjNZAY&s=ItGDeRxbJmbIQjxkgyIWRU9bq4xH9Rto6dcnFcaQxS4&e=" target="_blank">http://llvm.org/builds/</a><br>
><br>
> is there an official cl/cl-clang testprojects collection or how is the<br>
> testing done?<br>
><br>
><br>
> Am 01.06.2015 um 17:47 schrieb Yaron Keren:<br>
><br>
>> >How and with what ?<br>
>><br>
>> Comparing the compilation time between snapshot binary and the version you<br>
>> built locally will pinpoint if the problem is in clang in general or some<br>
>> local configuration.<br>
>><br>
>><br>
>><br>
>> 2015-06-01 18:06 GMT+03:00 Edward Diener <<a href="mailto:eldlistmailingz@tropicsoft.com" target="_blank">eldlistmailingz@tropicsoft.com</a><br>
>> >:<br>
>><br>
>> > On 6/1/2015 12:24 AM, Yaron Keren wrote:<br>
>> ><br>
>> >> Edward, could you time the snapshot binaries from<br>
>> >> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_builds_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=F0-TlLu8wZj-QcYcLWTpmo251k1w1lbeo5uj1fjNZAY&s=ItGDeRxbJmbIQjxkgyIWRU9bq4xH9Rto6dcnFcaQxS4&e=" target="_blank">http://llvm.org/builds/</a><br>
>> >><br>
>> ><br>
>> > How and with what ?<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > cfe-dev mailing list<br>
>> > <a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">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>
>> ><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> cfe-dev mailing list<br>
>> <a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">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>
>><br>
><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">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>
><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">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>
</div></div></blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">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>
<br></blockquote></div><br></div>
</div></div><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>
<br></blockquote></div><br></div>