Closed behnam closed 7 years ago
Example, from unicode-bidi
: flame-udhr-graph.html.zip
This is because flame
is a timeline flame graph, not an execution-percentage flame graph.
Instead of comparing flame
to http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html#description, compare it to something like the Chrome profiler.
Right now the flame
API is such that you can request all this data yourself and do stack merging yourself.
If I added an API that would allow you to export that data, would this be helpful?
Right. Yeah, on top level, I think would be great to have an export-to-html method that also merges the stacks.
Stack merging is a non-goal, but I'll add an API for dumping custom frames.
Issue filed here: https://github.com/TyOverby/flame/issues/20
As noted on http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html#description
Looks like rust flame is not doing any merging, which results in: