18 stable releases

2.7.2 Sep 13, 2024
2.6.0 Apr 24, 2024
2.4.0 Feb 26, 2024
2.3.3 Nov 20, 2023
0.1.0 Dec 15, 2022

#159 in Cargo plugins

Download history 7527/week @ 2024-07-08 6363/week @ 2024-07-15 6269/week @ 2024-07-22 7015/week @ 2024-07-29 9359/week @ 2024-08-05 5653/week @ 2024-08-12 9986/week @ 2024-08-19 7943/week @ 2024-08-26 9711/week @ 2024-09-02 7270/week @ 2024-09-09 7663/week @ 2024-09-16 7184/week @ 2024-09-23 6550/week @ 2024-09-30 8240/week @ 2024-10-07 7412/week @ 2024-10-14 8223/week @ 2024-10-21

31,047 downloads per month

MIT/Apache

29KB
410 lines

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
    

Dependencies

~87MB
~1.5M SLoC