Ben Chuanlong Du's Blog

It is never too late to learn.

Profile Rust Applications Using Flamegraph

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. not-perf is the best CPU profiling tool for Rust application.

  2. Valgrind is another good alternative to flamegraph if performance is not a big issue. However, profiling an application …