<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'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">https://code.google.com/p/jrfonseca/wiki/Gprof2Dot</a><br></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"><<a href="mailto:montagne29@wanadoo.fr" target="_blank">montagne29@wanadoo.fr</a>></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 class="h5"><br>
<br>
<div>On 30/05/2014 17:14, Grigory Revzin
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello everyone
<div><br>
</div>
<div>This was an academically tough week, but I'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't
have time to finish it, but almost there now. </div>
<div>- Caught a crash in hashing if an edge didn'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'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">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>