Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
comphead committed Mar 28, 2024
1 parent a9f9cb1 commit 9695fd3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/contributor-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,13 @@ By default, Criterion.rs will compare the measurements against the previous run
git checkout main
cargo bench --bench sql_planner -- --save-baseline main
git checkout YOUR_BRANCH
cargo bench --bench sql_planner -- --load-baseline new --baseline main
cargo bench --bench sql_planner -- --baseline main
```

Note: For MacOS it may be required to run `cargo bench` with `sudo`

```
sudo cargo bench ...
```

More information on [Baselines](https://bheisler.github.io/criterion.rs/book/user_guide/command_line_options.html#baselines)
Expand Down

0 comments on commit 9695fd3

Please sign in to comment.