Add flamegraph link to the Makefile

This commit is contained in:
Dan Davison 2020-05-18 09:36:56 -04:00
parent 2cb3e403e8
commit bbbd722687

View File

@ -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