summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2021-11-27 11:20:16 -0500
committerDan Davison <dandavison7@gmail.com>2021-11-27 11:24:11 -0500
commit1e1bd6b6b96a3515fd7c70d6b252a25eb9807dc7 (patch)
treecd0f5639d149679ac9ccdcbba70b76ad57cc2fd1
parent52ce4c34439a256b67df6a6f10d8c7ac2dbcec11 (diff)
Adjust benchmark command
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5396ff22..61764277 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,8 @@ BENCHMARK_INPUT_FILE = /tmp/delta-benchmark-input.gitdiff
BENCHMARK_COMMAND = git log -p 23c292d3f25c67082a2ba315a187268be1a9b0ab
benchmark: build
$(BENCHMARK_COMMAND) > $(BENCHMARK_INPUT_FILE)
- hyperfine 'target/release/delta --no-gitconfig < $(BENCHMARK_INPUT_FILE) > /dev/null'
+ hyperfine --warmup 10 --min-runs 20 \
+ 'target/release/delta --no-gitconfig < $(BENCHMARK_INPUT_FILE) > /dev/null'
# https://github.com/brendangregg/FlameGraph
flamegraph: build