summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-07-21 20:31:41 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-07-21 20:31:41 +0200
commit2cc0a6ff93b2e0dc20ba75c18ce34881bf3d9fbe (patch)
treeebcc2b607c91ae4e1ea1f4d6e84c6730bdb93214 /Makefile
parent2b806d56875276b06275230445aa3f6cd7a5f4d0 (diff)
Removed sudo from perf requirements
I pushed the appropriate settings to my OS config
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fa6e62b..8b630d0 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ bench:
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
+ perf record -g target/release/perf-test
+ 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