How do #rustacians CPU/memory profile their #rustlang applications?

@gee8sh Maybe try one of these:

cargo-flamegraph:
https://github.com/flamegraph-rs/flamegraph

Bytehound - a memory profiler for Linux:
https://github.com/koute/bytehound

heaptrack - A heap memory profiler for Linux:
https://github.com/KDE/heaptrack

GitHub - flamegraph-rs/flamegraph: Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3

Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 - flamegraph-rs/flamegraph

GitHub
@janriemer Thank you Jan! I suppose support for Windows is limited on that front. Wondering if switching to WSL would do the trick. Will give it a go!

@gee8sh You're welcome. 🙂

Yes, unfortunately, I don't know any tools for Windows on that front.

I hope, WSL will work for you, though. 🤞

@gee8sh @janriemer In Windows you can probably use whatever Windows / Visual Studio offers.

I'm not familiar with Windows world, but there's nothing special in #rustlang that you couldn't use the default tools.