<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Does <a href="https://reviews.llvm.org/D44132" class="">https://reviews.llvm.org/D44132</a> help at all?<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 15 Mar 2018, at 09:16, Philip Reames via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">The most likely answer is that the printer used by
print-after-all is slow. I know there were some changes made
around passing in some form of state cache (metadata related?) and
that running printers without doing so work, but are dog slow. I
suspect the print-after-all support was never updated. Look at
what we do for the normal IR emission "-S" and see if
print-after-all is out of sync. <br class="">
</p><p class="">Philip<br class="">
</p>
<br class="">
<div class="moz-cite-prefix">On 03/15/2018 08:45 AM, Alexandre
Isoard via llvm-dev wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:CANLM5LfFni7TiACzw-E8vCHMwq0FYiX3D=3AA2xb_8+SYPfJEQ@mail.gmail.com" class="">Huh.
Great! 😁
<div class=""><br class="">
</div>
<div class="">I don't believe my poor excuse from earlier (else we should
map all pipes into files!), but I'm curious why we spend less
time in system mode when going through file than pipe. Maybe
/dev/null is not as efficient as we might think? I can't believe
I'm saying that...<br class="">
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Thu, Mar 15, 2018, 08:25 Fedor Sergeev <<a href="mailto:fedor.sergeev@azul.com" moz-do-not-send="true" class="">fedor.sergeev@azul.com</a>>
wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, git by itself is so focused on performance, so its not
surprising<br class="">
to me that even using git add/git commit does not cause<br class="">
performance penalties.<br class="">
</blockquote>
</div>
</div>
<div class=""><br class="">
</div>
<div class="">Sure, but still, I write more stuff (entire module) into a
slower destination (file). Even ignoring git execution time it's
counter intuitive.</div>
<div class=""><br class="">
</div>
<div class="">The only difference is that while I write more, it overwrite
itself continuously, instead of being a long linear steam. I was
thinking of mmap the file instead of going through our
raw_stream, but maybe that's unnecessary then...</div>
<div class="">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>
</div>
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre wrap="" class="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br class="">
</div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></body></html>