Files
libgit2/tests/benchmarks/hash-object__text_cached_10mb
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
172 B
Bash
Executable File

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