Skip to content

Commit

Permalink
chore: update xtask/bench readme (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdm317 authored Apr 15, 2024
1 parent 23076b9 commit 355fd1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xtask/bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ To get a benchmark comparison, you need to run the benchmark for `main` branch a
```bash
# (commit your code on pr branch, run)
git checkout main
cargo bench_parser --save-baseline main
cargo bench --bench js_parser -- --save-baseline main
git checkout -
cargo bench_parser --save-baseline pr
cargo bench --bench js_parser -- --save-baseline pr
critcmp main pr # (cargo install critcmp)
```

Expand Down Expand Up @@ -44,9 +44,9 @@ To get a benchmark comparison, you need to run the benchmark for `main` branch a
```bash
# (commit your code on pr branch, run)
git checkout main
cargo bench_formatter --save-baseline main
cargo bench --bench js_formatter -- --save-baseline main
git checkout -
cargo bench_formatter --save-baseline pr
cargo bench --bench js_formatter -- --save-baseline pr
critcmp main pr # (cargo install critcmp)
```

Expand Down

0 comments on commit 355fd1e

Please sign in to comment.