mirror of
https://github.com/dandavison/delta.git
synced 2024-09-11 08:25:37 +03:00
Adjust benchmark command
This commit is contained in:
parent
52ce4c3443
commit
1e1bd6b6b9
3
Makefile
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user