summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/hash-object__write_text_100kb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/hash-object__write_text_100kb')
-rwxr-xr-xtests/benchmarks/hash-object__write_text_100kb9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/benchmarks/hash-object__write_text_100kb b/tests/benchmarks/hash-object__write_text_100kb
new file mode 100755
index 0000000..fb72c09
--- /dev/null
+++ b/tests/benchmarks/hash-object__write_text_100kb
@@ -0,0 +1,9 @@
+#!/bin/bash -e
+
+. "$(dirname "$0")/benchmark_helpers.sh"
+
+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"