gitbutler/crates/gitbutler-branch-actions/benches/README.md

14 lines
280 B
Markdown
Raw Normal View History

2024-08-06 21:55:20 +03:00
To run benchmarks, add the `benches` feature.
```shell
cargo bench --features benches
```
It's used to get past a safety check in `gitbutler-git`.
For faster compile times, specify the benchmark file directly, i.e.
```shell
cargo bench --bench branches --features benches
```