Files
libgit2/benchmarks/cli/hash-object__write_text_10mb
Edward Thomson 172e8ec1c3 benchmarks: add descriptions
Benchmark scripts now have optional descriptions that will be persisted
into the JSON output.
2025-03-01 12:39:04 +00:00

12 lines
338 B
Bash
Executable File

#!/bin/bash -e
#
# Description: write a 10mb text file to the object database
. "$(dirname "$0")/benchmark_helpers.sh"
gitbench --prepare "sandbox_repo empty_standard_repo &&
create_text_file text_10mb 10485760" \
--warmup 5 \
--chdir "empty_standard_repo" \
hash-object -w "../text_10mb"