mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 11:08:38 +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
|
|
```
|