<p dir="ltr">(not so humble ad :-) ) <br>
Did you know about a feature of Intel Amplifier which is in tech preview now which allows profiling Python code? CPython now only, no PyPy... But way better than cProfile IMO - threading support, line-level details, etc. </p>
<p dir="ltr">For more see here: <font color="#066906">https</font>://<a href="http://software.intel.com/en-us/python-profiling">software.intel.com/en-us/python-profiling</a></p>
<p dir="ltr">Thanks, <br>
Vasily</p>
<div class="gmail_quote">10 дек. 2015 г. 12:40 пользователь "Elmir Jagudin" <<a href="mailto:elmir@unity3d.com">elmir@unity3d.com</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 11:37 AM, Vasily <span dir="ltr"><<a href="mailto:just.one.man@yandex.ru" target="_blank">just.one.man@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">I thought vmprof supported CPython as well as PyPy. Also last time I heard it supported single-thread applications only, and Buildbot is multithreaded. </p></blockquote><div>I tried using vmprof under CPython, and it seems a bit buggy. It looks like the support for multithreading in vmprof+pypy have been added now:<br><br><a href="http://morepypy.blogspot.se/2015/08/pypy-261-released.html" target="_blank">http://morepypy.blogspot.se/2015/08/pypy-261-released.html</a><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<p dir="ltr">Did you try running cProfile? </p></blockquote><div>I tried cProfile on a simple twisted application, I does not produce that much usefully information.
To be honest, I'm not holding my breath for vmprof to produce top notch
report either. I just want to give it a spin and check what I get.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">Also which version of Buildbot are you using? </p></blockquote><div>We are running buildbot fork 'Katana':<br><br><a href="https://github.com/Unity-Technologies/katana/" target="_blank">https://github.com/Unity-Technologies/katana/</a><br><br></div><div>It is roughly equivalent with buildbot 0.8.7p1/0.8.8 with a lot of custom modifications.<br></div><div><br></div><div>/Elmir<br></div></div><br></div></div>
</blockquote></div>