mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
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.
8 lines
172 B
Bash
Executable File
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"
|