Files
libgit2/benchmarks/cli/hash-object__write_text_10mb
Edward Thomson 551b2bbf2d benchmarks: move them to their own folder
Benchmarks aren't really tests, don't keep them in the `tests` folder.
2026-01-10 17:29:52 +00:00

10 lines
272 B
Bash
Executable File

#!/bin/bash -e
. "$(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 "../text_10mb"