23 stable releases

2.10.1 Apr 7, 2025
2.9.1 Mar 10, 2025
2.7.2 Sep 13, 2024
2.6.0 Apr 24, 2024
0.1.0 Dec 15, 2022

#151 in Cargo plugins

Download history 8110/week @ 2025-01-13 8652/week @ 2025-01-20 7495/week @ 2025-01-27 9216/week @ 2025-02-03 8765/week @ 2025-02-10 9595/week @ 2025-02-17 12226/week @ 2025-02-24 10989/week @ 2025-03-03 11359/week @ 2025-03-10 14459/week @ 2025-03-17 10238/week @ 2025-03-24 9546/week @ 2025-03-31 10697/week @ 2025-04-07 8786/week @ 2025-04-14 10396/week @ 2025-04-21 10414/week @ 2025-04-28

41,014 downloads per month

MIT/Apache

48KB
1K SLoC

cargo-codspeed

CI Crates.io Discord CodSpeed Badge

A cargo subcommand for running CodSpeed on your project

Installation

With cargo

cargo install cargo-codspeed --locked

With cargo-binstall(recommended in CI)

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

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

Development

Troubleshooting

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

    brew install libgit2
    

Dependencies

~8–16MB
~225K SLoC