Skip to content

Commit

Permalink
doc: update instructions for running benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg authored and BurntSushi committed Jul 4, 2019
1 parent 9f701e3 commit 79809ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@ library benchmarks (especially RE2).
If you're hacking on one of the matching engines and just want to see
benchmarks, then all you need to run is:

$ ./bench/run rust
$ (cd bench && ./run rust)

If you want to compare your results with older benchmarks, then try:

$ ./bench/run rust | tee old
$ (cd bench && ./run rust | tee old)
$ ... make it faster
$ ./bench/run rust | tee new
$ (cd bench && ./run rust | tee new)
$ cargo benchcmp old new --improvements

The `cargo-benchcmp` utility is available here:
Expand Down

0 comments on commit 79809ce

Please sign in to comment.