Porting flamegraph to Rust — part 1
Channel:
Subscribers:
97,800
Published on ● Video Link: https://www.youtube.com/watch?v=jTpK-bNZiA4
In this stream, we started porting parts of the flamegraph profiling tool to Rust: http://www.brendangregg.com/flamegraphs.html. In this part, we focused on figuring out how the tool works, and on porting the stackcollapse-perf script that does most of the heavy-lifting: https://github.com/brendangregg/FlameGraph/blob/master/stackcollapse-perf.pl. Towards the end, we have an almost complete port of that script that is ~10x faster than the original! You can see the repository for the Rust port at https://github.com/jonhoo/inferno.
Live version with chat history here: https://youtu.be/ZL2JlBPUOlY
Other Videos By Jon Gjengset
Tags:
rust
live-coding
performance
profiling
perf