summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-05-16 00:01:27 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-05-16 00:01:27 +0200
commitc6a7a3154b7ba59f3abc7581b35dd460023cc8f9 (patch)
treeac2fc54bffc8ce8fcc65bbc9942e3736be39b8a6 /Makefile
parent29fb64e557e40afc8d58ae34c65650da9ea3c511 (diff)
Moved away from special benchmarking suite
Just using normal monte carlo. More iterations -> better.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a87c095..6391c1f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,11 @@ build:
test:
cargo test --release
+bench:
+ cargo run --release --features "benchmarking" --bin perf-test
+
profile:
- cargo build --release --features "benchmarking"
+ cargo build --release --features "benchmarking single-threaded"
mkdir -p target/profile
sudo perf record -F 1000 -a -g target/release/perf-test
sudo perf script > target/profile/out.perf
@@ -16,4 +19,4 @@ clean:
cargo clean
-.PHONY: build test profile clean
+.PHONY: build test bench profile clean