Skip to content

Repository files navigation

EuroRust 2025 Workshop

A template repository for learning Rust performance measurement with CodSpeed.

Getting Started

This workshop uses divan for benchmarking with CodSpeed's compatibility layer.

Install cargo-codspeed

cargo install cargo-codspeed --locked

Run benchmarks locally

# generate the reference files
cargo run --release --bin generate_fasta
cargo run --release --bin generate_blobs

Running with divan:

cargo bench --bench bfs # here we are only running the bfs benchmark

Running the benchmarks with cargo-codspeed:

cargo codspeed build -m walltime
cargo codspeed run -m walltime

Note: You can also set the CODSPEED_RUNNER_MODE environment variable to walltime to avoid passing -m walltime every time.

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages