<div dir="ltr">To summarize the discussion on IRC:<div><br></div><div>This hot code path doesn't really seem to be due to my patch. If it is, I can't explain why. I definitely can't explain why without some steps to reproduce.</div><div><br></div><div>This patch essentially erases all the performance hits I can find any way to measure of the pthread locks, so I'll wait for more information from you or the others that have measured more significant issues here. Let me know what you'd like me to do next.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 27, 2015 at 4:56 PM, Owen Anderson <span dir="ltr"><<a href="mailto:resistor@mac.com" target="_blank">resistor@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Hi Chandler,<br>
<br>
In my measurements, this captures about half of the regression, i.e. the regression goes from ~20% to ~10%. While the reader/writer locks are gone from the profile, several other PassManager related pieces of code have jumped up to take their place:<br>
<br>
</span>—Owen<br>
<br>
- F362108: ThreadProfile2.png <<a href="http://reviews.llvm.org/F362108" target="_blank">http://reviews.llvm.org/F362108</a>><br>
<br>
<br>
<a href="http://reviews.llvm.org/D7213" target="_blank">http://reviews.llvm.org/D7213</a><br>
<br>
EMAIL PREFERENCES<br>
<a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>