<div dir="ltr">Hi,<div><br></div><div>You can also look into gperftool. Was using it a lot.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 31, 2014 at 1:49 AM, Grigory Revzin <span dir="ltr">&lt;<a href="mailto:revzingg@gmail.com" target="_blank">revzingg@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the profiling tips! Seems like a good place to learn gcc when I run into some more complicated profiling :)<div>
<br></div><div>Regarding the linked shape keys, it seems that they indeed are in read-only mode... and that is the problem! They are all there, but the user can&#39;t animate them. I guess this is because animating the shapes means updating their values in the library and as I see Blender doesn&#39;t permit such kind of edits in the linked data? Even if I make a proxy object for an object with shapes, they aren&#39;t animatable unless I make the Mesh local. Will look into it deeper</div>

<div><br></div><div>Thanks for the comments, Bastien! I&#39;ll go through them tomorrow evening</div><div><br></div><div>Thanks,</div><div>- Grigory<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><div>
<div class="h5"><br>
<br><div class="gmail_quote">On Fri, May 30, 2014 at 10:21 PM, Lukas Tönne <span dir="ltr">&lt;<a href="mailto:lukas.toenne@gmail.com" target="_blank">lukas.toenne@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">PIL profiling is sufficient when you want to examine just a single function. For more complete profiling you could use gprof, which works fine with gcc (not sure about clang, think it works there as well). I&#39;ve been using it in combination with a nifty little py tool called gprof2dot [1], which turns gprof output into a fancy graphviz image, so following convoluted callstacks becomes easier.<div>


<br></div><div>[1] <a href="https://code.google.com/p/jrfonseca/wiki/Gprof2Dot" target="_blank">https://code.google.com/p/jrfonseca/wiki/Gprof2Dot</a><br></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, May 30, 2014 at 7:21 PM, Bastien Montagne <span dir="ltr">&lt;<a href="mailto:montagne29@wanadoo.fr" target="_blank">montagne29@wanadoo.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Grigory,<br>
    <br>
    About profiling, we generally simply use helpers from
    PIL_time_utildefines.h (in blenlib)…<br>
    <br>
    As for lib data, I’m not a great expert in this area, but I think
    since skeys are just mesh sub-data, it should not be hard to access
    them in readonly mode? Other coders should know better though, imho.<br>
    <br>
    Btw, did you see the comments I put on your proposal?
    <a href="http://wiki.blender.org/index.php/User:Revzin" target="_blank">http://wiki.blender.org/index.php/User:Revzin</a> (UI topic is still a
    bit fuzzy…).<br>
    <br>
    Cheers,<br>
    Bastien<div><div><br>
    <br>
    <div>On 30/05/2014 17:14, Grigory Revzin
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div>
      <div dir="ltr">Hello everyone
        <div><br>
        </div>
        <div>This was an academically tough week, but I&#39;ve managed to
          clear the next week for half-time work and two weeks after
          that for (almost) full time gsoc!</div>
        <div><br>
        </div>
        <div>This week:</div>
        <div>- Still struggling with making editmode mixing work, didn&#39;t
          have time to finish it, but almost there now. </div>
        <div>- Caught a crash in hashing if an edge didn&#39;t have any
          faces</div>
        <div>
          - From a disussion with an artist a decision was made to
          implement compression of shape key data on disk save by
          storing only the vertices that have changed their positions in
          a given keyblock</div>
        <div><br>
        </div>
        <div>Problems:</div>
        <div>- Shape keys on linked data aren&#39;t accessible from the UI
          and this needs to be sovled. Is this a deep problem that I can
          add into gsoc targets?</div>
        <div>
          <div>- Is there a standard way to profile Blender code for
            time?</div>
          <div><br>
          </div>
          <div>Thanks,</div>
          <div>Grigory</div>
          -- <br>
          Г. Г. Ревзин
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Soc-2014-dev mailing list
<a href="mailto:Soc-2014-dev@blender.org" target="_blank">Soc-2014-dev@blender.org</a>
<a href="http://lists.blender.org/mailman/listinfo/soc-2014-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2014-dev</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Soc-2014-dev mailing list<br>
<a href="mailto:Soc-2014-dev@blender.org" target="_blank">Soc-2014-dev@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/soc-2014-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2014-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Soc-2014-dev mailing list<br>
<a href="mailto:Soc-2014-dev@blender.org" target="_blank">Soc-2014-dev@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/soc-2014-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2014-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Г. Г. Ревзин
</font></span></div>
<br>_______________________________________________<br>
Soc-2014-dev mailing list<br>
<a href="mailto:Soc-2014-dev@blender.org">Soc-2014-dev@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/soc-2014-dev" target="_blank">http://lists.blender.org/mailman/listinfo/soc-2014-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="color:rgb(102,102,102)">With best regards, Sergey Sharybin</span></div>
</div>