<div dir="ltr">Nice!<div><br></div><div>If you aren't already aware of it, SnakeViz is a really nice web UI for looking at cProfile traces:</div><div>  <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__jiffyclub.github.io_snakeviz_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=YJ8qDV-2VjR93CYY0zWLihy9dYtpNxp_gUQaX5Xae_o&s=I25exs9y2YvOJz-xc4N45WyEKTMR-LqNMvoYgSS1N0k&e=">https://jiffyclub.github.io/snakeviz/</a></div><div><br></div><div> - Daniel</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 10:15 AM, Kristof Beyls <span dir="ltr"><<a href="mailto:kristof.beyls@arm.com" target="_blank">kristof.beyls@arm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The attached patch adds support for getting call-graph profiles from lnt runserver. It does this by adding<br>a new –profiler-dir command line option, which results in a pstat profile to be stored to a separate file<br>in that sub directory, per web request. I find the extra call graph info very<br>useful when trying to understand what the bottlenecks are in the rendering of pages by the<br>lnt webserver.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The pstat files can easily be converted into something graphical by a command like:<u></u><u></u></p><p class="MsoNormal">$ gprof2dot -f pstats profile_dir/POST.submitRun.000591ms.1435075964.prof |  dot -Tsvg > submitRun.svg<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’ve attached such an svg graph for a request of the daily report page to give an idea of<br>the kind of information this more detailed profiling can give.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Does the patch look OK to commit?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Kristof<u></u><u></u></p></font></span></div></div></blockquote></div><br></div>