You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this always resulted in a web page that got unresponsive due to what it seems excessive javascript processing. I had to increase interval option to unacceptable values to generate a very small flamegraph file which could be processed by the browser (and even that way the graphic was very small, unreadable).
Then, digging a bit I found out there is another way to generate the flamegraph, which, if I'm not wrong, uses a https://github.com/brendangregg/FlameGraph tool (which is included in stackprof in vendor directory):
I'm actually working on a branch right now that replaces the current SVG/D3 Flamegraph viewer with one based on <canvas>. It's far more responsive than the current viewer for large profiles. I'm hoping to get a PR opened up in the next day or two with the new implementation.
Activity
tmm1 commentedon Oct 19, 2016
The JavaScript flamegraph is preferred, since its interactive and has more details. You should be able to zoom in and out.
What browser are you using?
@aroben Maybe your perf patches to flamegraph.js would help here?
waiting-for-dev commentedon Oct 19, 2016
Thanks for your response. I tried with both firefox and chrome in debian.
aroben commentedon Oct 19, 2016
I'm actually working on a branch right now that replaces the current SVG/D3 Flamegraph viewer with one based on
<canvas>. It's far more responsive than the current viewer for large profiles. I'm hoping to get a PR opened up in the next day or two with the new implementation.waiting-for-dev commentedon Oct 19, 2016
Very happy to hear that :D