Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Are there any ways to easily optimize Rust in VSCode?

I’m currently working on optimizing a big Rust project. I’m very new to Rust so I don’t know much about how to optimize. I saw in a Cherno video that there was a tool in Visual Studio C++ to see CPU usage per line of code, and I am wondering if there is a similar thing for VSCode Rust.

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

As @Chayim Friedman mentioned, this is called a profiler. The Rust Performance book has a non-exhaustive list of profilers that work with Rust, as you can see here. Cachegrind and Callgrind seem to be closest to what you wish to achieve

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading