What kind of code microprofiling/benchmarking software do you guys use? I was wondering if anyone knew of any that can also be used as a separate tool (open source preferred but I dont mind proprietary) rather than already integrated into something like Visual Studio.
Edit: I would like it to support Windows and Linux. I mostly program in C right now, but expanding into other languages (e.g., Rust, Python)


This may not fall under the umbrella of micro profiling, but I’ve using the cli tool perf a lot lately in Linux. Pretty powerful tool for performance profiling that can do active monitoring as well as take snapshots. Not sure about windows compatibility, maybe with wsl?