summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-05-26 19:53:45 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-05-26 19:53:45 +0200
commit6d6cb9e39c4ec3f113833042f1b7bc8082c5d650 (patch)
treebf27756d080b243d86f19c6b015f9ba5273975a5
parentc18b3c8aa93a649cb3d2e26d9c2cad141a684952 (diff)
Update build instructions to match current processes
-rw-r--r--Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 4673760..3f3b532 100644
--- a/Makefile
+++ b/Makefile
@@ -4,16 +4,8 @@ build:
test:
cargo test --release
-bench:
- cargo run --release --features "benchmarking" --bin perf-test
-
profile:
- 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
- ../FlameGraph/stackcollapse-perf.pl target/profile/out.perf > target/profile/out.folded
- ../FlameGraph/flamegraph.pl target/profile/out.folded > target/profile/flamegraph.svg
+ cargo flamegraph --bin benchmark
clean:
cargo clean
@@ -21,4 +13,4 @@ clean:
submission.zip:
zip --filesync -r9 submission.zip bot.json Cargo.lock Cargo.toml src
-.PHONY: build test bench profile clean submission.zip
+.PHONY: build test profile clean submission.zip