Skip to main content
CodSpeed provides compatibility layers for popular Rust benchmarking frameworks and a dedicated cargo subcommand to help you measure the performance of your Rust code.

cargo-codspeed

A cargo subcommand to benchmark your Rust code with CodSpeed integration.

Compatibility layers

divan (recommended)

The compatibility layer for divan, the recommended benchmarking framework for Rust.

criterion.rs

The compatibility layer for criterion.rs.

bencher (libtest)

The compatibility layer for bencher.