[PATCH][LNT] Add support for more detailed profiling to lnt.

Daniel Dunbar daniel at zuster.org
Thu Jun 25 08:01:25 PDT 2015


Yeah, it isn't perfect but it is a nice complement to the command line
tools, esp. The ability to quickly interactively navigate between subtrees.

 - Daniel

On Thursday, June 25, 2015, Kristof Beyls <kristof.beyls at arm.com> wrote:

> I didn’t know about snakeviz yet, thanks for the pointer!
>
> It seems like the alternative visualization using a sunburst takes some
> getting used to – but when combined with a more traditional call graph view
> allows to understand the profiles more fully?
>
>
>
> *From:* daniel.dunbar at gmail.com
> <javascript:_e(%7B%7D,'cvml','daniel.dunbar at gmail.com');> [mailto:
> daniel.dunbar at gmail.com
> <javascript:_e(%7B%7D,'cvml','daniel.dunbar at gmail.com');>] *On Behalf Of *Daniel
> Dunbar
> *Sent:* 25 June 2015 03:56
> *To:* Kristof Beyls
> *Cc:* llvm-commits; Chris Matthews; Renato Golin; Tobias Grosser
> *Subject:* Re: [PATCH][LNT] Add support for more detailed profiling to
> lnt.
>
>
>
> Nice!
>
>
>
> If you aren't already aware of it, SnakeViz is a really nice web UI for
> looking at cProfile traces:
>
>   https://jiffyclub.github.io/snakeviz/
>
>
>
>  - Daniel
>
>
>
>
>
> On Wed, Jun 24, 2015 at 10:15 AM, Kristof Beyls <kristof.beyls at arm.com
> <javascript:_e(%7B%7D,'cvml','kristof.beyls at arm.com');>> wrote:
>
> Hi,
>
>
>
> The attached patch adds support for getting call-graph profiles from lnt
> runserver. It does this by adding
> a new –profiler-dir command line option, which results in a pstat profile
> to be stored to a separate file
> in that sub directory, per web request. I find the extra call graph info
> very
> useful when trying to understand what the bottlenecks are in the rendering
> of pages by the
> lnt webserver.
>
>
>
> The pstat files can easily be converted into something graphical by a
> command like:
>
> $ gprof2dot -f pstats profile_dir/POST.submitRun.000591ms.1435075964.prof
> |  dot -Tsvg > submitRun.svg
>
>
>
> I’ve attached such an svg graph for a request of the daily report page to
> give an idea of
> the kind of information this more detailed profiling can give.
>
>
>
> Does the patch look OK to commit?
>
>
>
> Thanks,
>
>
>
> Kristof
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150625/b08f1ed4/attachment.html>


More information about the llvm-commits mailing list