<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">Do you mean the algorithm is slower in debug builds of LLVM, or when</span><br style="font-size:12.8px"><span style="font-size:12.8px">LLVM is used to do debug builds of things?</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">It sounds like you say the algorithm can be 8% slower for debug</span><br style="font-size:12.8px"><span style="font-size:12.8px">builds, but also likely to speed up debug builds? I'm confused :-)</span></blockquote><div>The algorithm can be slower when LLVM is built in Debug mode instead of Release.<br>DomTree is only an analysis, so as long as it is correct it doesn't affect performance of compiled programs.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 13, 2017 at 11:44 AM, Hans Wennborg <span dir="ltr"><<a href="mailto:hans@chromium.org" target="_blank">hans@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Mon, Jun 12, 2017 at 5:12 PM, Jakub (Kuba) Kuderski via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br>
> 4. Performance<br>
><br>
> The real life performance of full dynamic DBS-based DomTree recalculation is<br>
> between 20% and 2% better on a machine with two Xeon E5-2680v2 CPUs than the<br>
> existing SLT algorithm, which is consistent with the findings from this<br>
> thesis [3]. The advantage is not that visible on debug builds, where the<br>
> DBS-algorithm can be up to 8% slower. It is most like possible to speed up<br>
> debug builds, but I haven’t looked into that yet.<br>
<br>
</span>Do you mean the algorithm is slower in debug builds of LLVM, or when<br>
LLVM is used to do debug builds of things?<br>
<br>
It sounds like you say the algorithm can be 8% slower for debug<br>
builds, but also likely to speed up debug builds? I'm confused :-)<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-5088091099849055129m_3344493035930257274gmail_signature" data-smartmail="gmail_signature"><div>Jakub Kuderski</div></div>
</div></div>