Added a static set of opening moves to get energy up and running
[entelect-challenge-tower-defence.git] / Makefile
index fa6e62b..ec1506f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,10 @@ bench:
        cargo run --release --features "benchmarking" --bin perf-test
 
 profile:
-       cargo build --release --features "benchmarking single-threaded"
+       cargo build --release --features "benchmarking single-threaded extended-time"
        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
+       perf record -g target/release/perf-test
+       perf report
 
 clean:
        cargo clean