<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>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>
</p>
<p>Philip<br>
</p>
<br>
<div class="moz-cite-prefix">On 03/15/2018 08:45 AM, Alexandre
Isoard via llvm-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANLM5LfFni7TiACzw-E8vCHMwq0FYiX3D=3AA2xb_8+SYPfJEQ@mail.gmail.com">Huh.
Great! 😁
<div><br>
</div>
<div>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>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Mar 15, 2018, 08:25 Fedor Sergeev <<a
href="mailto:fedor.sergeev@azul.com"
moz-do-not-send="true">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>
to me that even using git add/git commit does not cause<br>
performance penalties.<br>
</blockquote>
</div>
</div>
<div><br>
</div>
<div>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><br>
</div>
<div>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>
<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>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>
</body>
</html>