Files
libgit2/benchmarks/cli/hash-object__write_text_nocache_100kb
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

12 lines
306 B
Bash
Executable File

#!/bin/bash -e
. "$(dirname "$0")/benchmark_helpers.sh"
needs_admin
gitbench --prepare "sandbox_repo empty_standard_repo &&
create_text_file text_100kb 102400 &&
flush_disk_cache" \
--chdir "empty_standard_repo" \
hash-object -w "../text_100kb"