<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace;font-size:small;color:#000000">Thanks for the data.  With value profile disabled, <span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">__llvm_prf_vnds section should not be emitted -- there is a bug in the compiler.</span></div><div class="gmail_default" style="font-family:monospace;font-size:small;color:#000000"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)"><br></span></div><div class="gmail_default" style="font-family:monospace;font-size:small;color:#000000"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">Thinking about MIP's use case a little, it seems that it actually matches what xray does.  Xray has very low runtime overhead and can be turned on always : <a href="https://llvm.org/docs/XRay.html">xra</a>y. Have you compare with xray and consider using that?</span></div><div class="gmail_default" style="font-family:monospace;font-size:small;color:#000000"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)"><br></span></div><div class="gmail_default" style="font-size:small">David</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ellis added a comment.<br>
<br>
@davidxl<br>
<br>
I've added text size data to <a href="https://gist.github.com/ellishg/92a68cf82bfdeccd10225154425edc69#gistcomment-3778109" rel="noreferrer" target="_blank">https://gist.github.com/ellishg/92a68cf82bfdeccd10225154425edc69#gistcomment-3778109</a> and hopefully it is more clear. I randomly chose the test `MultiSource/Benchmarks/FreeBench/fourinarow.test` to show the size data. You can see the raw data in <a href="https://gist.github.com/ellishg/156639f24d728a88067f903cb53e1643" rel="noreferrer" target="_blank">https://gist.github.com/ellishg/156639f24d728a88067f903cb53e1643</a><br>
<br>
Base<br>
====<br>
<br>
  "size..text": 4629<br>
  "size..data": 8,<br>
  "size..bss": 120,<br>
<br>
MIP<br>
===<br>
<br>
  "size..text": 4741,<br>
  "size..data": 8,<br>
  "size.__llvm_mipmap": 768,<br>
  "size.__llvm_mipraw": 41,<br>
  "size..bss": 120,<br>
<br>
`-fcs-profile-generate`<br>
=======================<br>
<br>
  "size..text": 24322,<br>
  "size..data": 176,<br>
  "size.__llvm_prf_cnts": 1336,<br>
  "size.__llvm_prf_data": 816,<br>
  "size.__llvm_prf_names": 117,<br>
  "size.__llvm_prf_vnds": 24576,<br>
  "size..bss": 8952,<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D104060/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D104060/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D104060" rel="noreferrer" target="_blank">https://reviews.llvm.org/D104060</a><br>
<br>
</blockquote></div></div>