cargo-codspeed

Crates.iocargo-codspeed
lib.rscargo-codspeed
version2.7.2
sourcesrc
created_at2022-12-15 23:51:27.0709
updated_at2024-09-13 13:01:29.895007
descriptionCargo extension to build & run your codspeed benchmarks
homepagehttps://codspeed.io
repositoryhttps://github.com/CodSpeedHQ/codspeed-rust
max_upload_size
id738373
size115,174
Arthur Pastel (art049)

documentation

https://docs.codspeed.io

README

cargo-codspeed

CI Crates.io Discord CodSpeed Badge

A cargo subcommand for running CodSpeed on your project

Installation

With cargo-binstall(recommended)

cargo-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-binstall

You can then install cargo-codspeed with:

cargo binstall cargo-codspeed

With cargo

cargo install cargo-codspeed --locked

Usage

Usage: 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

Advanced Usage

The vendored-openssl feature can be used to statically link with openssl with cargo install cargo-codspeed --features vendored-openssl.

Development

Troubleshooting

  • Build error on MacOS: ld: library 'git2' not found

    brew install libgit2
    
Commit count: 69

cargo fmt