mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 10:33:21 +03:00
14 lines
280 B
Markdown
14 lines
280 B
Markdown
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
|
|
```
|