Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Profile Rust Applications
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips for Rust Optimization and Profiling
-
std::mem::size_of returns the stack size of a type.
-
memuse contains traits for measuring the dynamic memory usage of Rust types.
CPU Profiling of Rust Applications Using Valgrind
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
It is suggested that you profile Rust application using not-perf . For more discussions, please refer to Profile Rust Applications .
Installation on Ubuntu
wajig install valgrind
Profile Your Application Using CallGrind
valgrind …
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
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.
- The application must be LONG RUNNING in order for VirtualVM to profile it.
IntelliJ IDEA
VirtualVM Executable
/usr …