cargo install cargo-codspeed --lockedcargo-binstall enables you to install binaries directly without having to build from the source(with cargo install) every time.
If you don't have installed yet, you can install it with:
cargo install cargo-binstallYou can then install cargo-codspeed with:
cargo binstall cargo-codspeedUsage: cargo codspeed <COMMAND>
Commands:
build Build the benchmarks
run Run the previously built benchmarks
Options:
-h, --help Print help information
-V, --version Print version information
-
Build error on MacOS:
ld: library 'git2' not foundbrew install libgit2