What is the sandart Profiling tool to profile Rust program?

โš“ Rust    ๐Ÿ“… 2025-08-20    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 5      

surdeus

What is the standart profiling tool can I use to profile a Rust program? Ideally something that can show me which functions are slow, how much stack memory each function uses, how much heap memory is allocated and by whom, how many syscalls each function makes, and which memory isnโ€™t being freed properly over time.

Bonus points if it can also detect cache misses and branch prediction misses, but that part isnโ€™t strictly required.

4 posts - 3 participants

Read full topic

๐Ÿท๏ธ Rust_feed