Stream: t-compiler/wg-self-profile

Topic: flame graphs


Wesley Wiser (Apr 20 2019 at 15:31, on Zulip):

I hacked together a stack-collapse program for measureme and it ... seems to work?

rustc.svg

simulacrum (Apr 20 2019 at 18:26, on Zulip):

Great!

mw (Apr 24 2019 at 08:04, on Zulip):

woah, nice!

lqd (Apr 25 2019 at 16:51, on Zulip):

btw @Wesley Wiser do you know about https://www.speedscope.app/ a simple frontend for flamegraphs, could be useful. (I'm not sure if prlo would generate flamegraphs but if it was the case, maybe we could also embed it there heh)

Wesley Wiser (Apr 25 2019 at 16:53, on Zulip):

I did not. That's very cool!

Wesley Wiser (Apr 25 2019 at 16:53, on Zulip):

Being able to click a link and get an in-browser flamegraph from anything in perf.rlo would be amazing

lqd (Apr 25 2019 at 16:57, on Zulip):

yeah like the firefox profiler :)

Wesley Wiser (Apr 25 2019 at 16:58, on Zulip):

I've looked at supporting ff profiler as an output format but I'm still trying to wrap my brain around the json format it expects

Wesley Wiser (Apr 25 2019 at 16:58, on Zulip):

The Chrome one is easy but chokes on large files

lqd (Apr 25 2019 at 16:59, on Zulip):

yeah

lqd (Apr 25 2019 at 17:00, on Zulip):

I've looked at it at the time of #43804 and some people from moz told me it should be possible to use the data format. I was worried it was tied to gecko, C++, js, etc but apparently not

Wesley Wiser (Apr 25 2019 at 17:02, on Zulip):

Yeah, I've seen some docs for ff but I haven't really gotten a chance to get it working

Wesley Wiser (Apr 25 2019 at 17:03, on Zulip):

I have a few commits that add the Chrome version of the tool. I should polish that up and get it merged

Wesley Wiser (Apr 26 2019 at 10:43, on Zulip):

@lqd https://github.com/rust-lang/measureme/pull/34

lqd (Apr 26 2019 at 12:03, on Zulip):

:O awesome

Last update: Nov 15 2019 at 21:10UTC