Files
libgit2/tests/benchmarks/hash-object__text_cached_1kb
Edward Thomson 93037bab1c tests: add benchmark tests
Add a benchmark test suite that wraps hyperfine and is suitable for
producing data about test runs of a CLI or A/B testing CLIs.
2022-02-27 23:44:19 -05:00

8 lines
166 B
Bash
Executable File

#!/bin/bash -e
. "$(dirname "$0")/benchmark_helpers.sh"
gitbench --prepare "create_text_file text_1kb 1024" \
--warmup 5 \
hash-object "text_1kb"