24 releases (stable)

new 2.8.0 Feb 13, 2025
2.7.2 Sep 13, 2024
2.6.0 Apr 24, 2024
2.4.0 Feb 26, 2024
0.1.0 Dec 15, 2022

#138 in Cargo plugins

Download history 6017/week @ 2024-10-27 7327/week @ 2024-11-03 4820/week @ 2024-11-10 6297/week @ 2024-11-17 6055/week @ 2024-11-24 10030/week @ 2024-12-01 8633/week @ 2024-12-08 7849/week @ 2024-12-15 5713/week @ 2024-12-22 4660/week @ 2024-12-29 8118/week @ 2025-01-05 7435/week @ 2025-01-12 8174/week @ 2025-01-19 8302/week @ 2025-01-26 9342/week @ 2025-02-02 8239/week @ 2025-02-09

34,805 downloads per month

MIT/Apache

45KB
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
~219K SLoC