summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-05-18 09:36:56 -0400
committerDan Davison <dandavison7@gmail.com>2020-05-18 09:36:56 -0400
commitbbbd722687fe8f916f1aaf7bda413fec74df1ba5 (patch)
tree39b4cc775bfb20477899c51a4088053100ad64f6 /Makefile
parent2cb3e403e802250308ef05e37e33105ad68eaef6 (diff)
Add flamegraph link to the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3376bc02..e8553971 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ benchmark: build
$(BENCHMARK_COMMAND) > $(BENCHMARK_INPUT_FILE)
hyperfine 'target/release/delta < $(BENCHMARK_INPUT_FILE) > /dev/null'
+# https://github.com/brendangregg/FlameGraph
flamegraph: build
$(BENCHMARK_COMMAND) | target/release/delta > /dev/null &
sample delta | stackcollapse-sample | flamegraph > performance/flamegraph.svg