summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-05-15 23:19:31 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-05-15 23:19:31 +0200
commit29fb64e557e40afc8d58ae34c65650da9ea3c511 (patch)
treeade124c68963604b12b01d6324c025def9b7ebea /Makefile
parent27499d0f466e0405dba10f8f5b98533beead1c9e (diff)
Moved perf intermediary files to target folder
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5f2e069..a87c095 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,11 @@ test:
profile:
cargo build --release --features "benchmarking"
+ mkdir -p target/profile
sudo perf record -F 1000 -a -g target/release/perf-test
- sudo perf script > out.perf
- ../FlameGraph/stackcollapse-perf.pl out.perf > out.folded
- ../FlameGraph/flamegraph.pl out.folded > flamegraph.svg
+ 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
clean:
cargo clean