Porting flamegraph to Rust — part 2

Channel:
Subscribers:
97,800
Published on ● Video Link: https://www.youtube.com/watch?v=Qy1tQesXc7k



Duration: 5:47:38
16,698 views
203


In this stream, we're continuing our work to port the flamegraph profiling tool to Rust: http://www.brendangregg.com/flamegraphs.html. In this part, we focused on the actual flame graph generation (that is, the SVG), and thus on porting the flamegraph.pl script that does all the rendering: https://github.com/brendangregg/FlameGraph/blob/master/flamegraph.pl. Towards the end, we have a port of that script that is renders complete flame graphs pretty much identically to the original flamegraph tool, modulo some minor pixel differences and the lack of a color scheme! You can see the repository for the Rust port at https://github.com/jonhoo/inferno, where I'll add issues for all the features that are still remaining. Most of them are pretty minor, but may present interesting starting points if you want to practice your Rust!

Live version with chat history here: https://youtu.be/nyXzYc9msvs







Tags:
rust
live-coding
flamegraph
profiling