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)

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    For benchmarking commands you can’t beat hyperfine. But if you are really talking microbenchmarks you have to do that in-program so it’ll depend on what language you’re using.

    E.g. for Rust Criterion is the go-to option.