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 …

Tips on Valgrind

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

Tips on VirtualVM

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

VisualVM is a great tool for performance profiling of JVM applications.

  1. The application must be LONG RUNNING in order for VirtualVM to profile it.

IntelliJ IDEA

VisualVM Launcher

VirtualVM Executable

/usr …