From 929bd56e27a0005485b2cfcfcaed20c4be7bd3e3 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Wed, 3 Jul 2019 19:05:03 +0200 Subject: [PATCH] doc: update instructions for running benchmarks --- HACKING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HACKING.md b/HACKING.md index 160bbc3..34af5b5 100644 --- a/HACKING.md +++ b/HACKING.md @@ -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: