doc: update instructions for running benchmarks

This commit is contained in:
gnzlbg
2019-07-03 19:05:03 +02:00
committed by Andrew Gallant
parent 2b501aaad7
commit 929bd56e27
+3 -3
View File
@@ -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: