20 stable releases

new 2.8.1 Feb 25, 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

#139 in Cargo plugins

Download history 6311/week @ 2024-10-30 6187/week @ 2024-11-06 5937/week @ 2024-11-13 6614/week @ 2024-11-20 7100/week @ 2024-11-27 9405/week @ 2024-12-04 8311/week @ 2024-12-11 6913/week @ 2024-12-18 5924/week @ 2024-12-25 5809/week @ 2025-01-01 6864/week @ 2025-01-08 8780/week @ 2025-01-15 8262/week @ 2025-01-22 7958/week @ 2025-01-29 9717/week @ 2025-02-05 6794/week @ 2025-02-12

34,025 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
~226K SLoC