Skip to content

Commit

Permalink
Ignore gitconfig when benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Jul 22, 2020
1 parent 0a4e7fb commit 8233a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ 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 < $(BENCHMARK_INPUT_FILE) > /dev/null'
hyperfine 'target/release/delta --no-gitconfig < $(BENCHMARK_INPUT_FILE) > /dev/null'

# https://github.com/brendangregg/FlameGraph
flamegraph: build
Expand Down

0 comments on commit 8233a75

Please sign in to comment.