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)


If you want to do resource profiling, Visual Studio can do that out of the box. For simple benchmarking, specifically for seeing how long certain calls take, I just just the
Stopwatchclass and ouput the result to a log entry. Assuming you’re using C# that is.