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)


I might be going the wrong direction of “micro” here but
timeis the very minimal, tiny, and traditional unix way.For example:
There are also a large number of other profiling outputs you can ask
timeto spit out by passing it the appropriate command line flags.I’ll look into using this in my workflow