Calculating and presenting benchmarks

Python pytest has a great plugin benchmark ( which enables a very easy setting up of a comparative benchmark of functions where the framework runs each function many times for many different data input and outputs a table of results to the console.

Does Rust have anything at all similar?

The one I see mentioned most often is


For macro benchmarks (comparing binaries basically), I also highly recommend


I use the built-in Bencher, and cargo-benchcmp.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.