Using the divan compatibility layer for CodSpeed
cargo-codspeed
command to build and run your
CodSpeed benchmarksdivan
compatibility layer:
Cargo.toml
if you already have divan
installed:
codspeed-divan-compat
crate and rename it to divan
in
your Cargo.toml
. This way, you can keep your existing imports and the
compatibility layer will take care of the rest.
divan
will still run
it as usual.codspeed-divan-compat
as is and change
your imports to use this new crate name.Cargo.toml
:
main
branch and every
pull request: