Netflix / flamescope

FlameScope is a visualization tool for exploring different time ranges as Flame Graphs.
Apache License 2.0
3.02k stars 169 forks source link

reproduce profile with animated flame graphs #29

Open bobrik opened 6 years ago

bobrik commented 6 years ago

I read the blog post and found it very relatable:

It would be awesome to have animated mode where one could select a range and then replay either step by step or at some reasonable rate (say 20ms per frame, 10 fps).

Flamegraph "bricks" would then shrink and expand with each "frame". This is effectively watching individual flamegraphs one after another, but with smooth transformations.

Hopefully this makes sense.

brendangregg commented 6 years ago

Makes sense. We have the data to do that. We could have "step forward" and "step backwards" buttons. Imagine selecting one second, then being able to step forward by one second at a time.

spiermar commented 6 years ago

The D3 plugin already supports that and I probably have a script to parse the profiles that way. See http://martinspier.io/d3-flame-graph/live.html