Need tool to do profiling and improve performance

Hello, group,

I am working on a fairly large project using Rust. The source code size is like 2M. When I'm adding new features, I can see the loading time and processing time is increasing. Because the project size, it's challenging for me to really identify the hot path. Is there profiling tool to show the hot path/spot to improve the performance?

Thanks.

I've used flamegraph in the past to identify what parts of my program were holding me up, and it worked quite well. IIRC it was great with multithreading, but I'm not sure how it handles async.

1 Like