Files
libgit2/tests/benchmarks/hash-object__write_text_100kb
Edward Thomson 8d8ab0b110 benchmarks: rename cache benchmarks
The default in the world is to have a disk cache; it's exceptional to
_not_. Flip our naming, so that the (exceptional) `nocache` tests are
called out explicitly.
2025-03-02 20:46:38 +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_100kb 102400" \
--warmup 5 \
--chdir "empty_standard_repo" \
hash-object "../text_100kb"