summaryrefslogtreecommitdiff
path: root/tests/benchmarks/hash-object__write_text_1kb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/hash-object__write_text_1kb')
-rwxr-xr-xtests/benchmarks/hash-object__write_text_1kb9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/benchmarks/hash-object__write_text_1kb b/tests/benchmarks/hash-object__write_text_1kb
new file mode 100755
index 000000000..ca34393ad
--- /dev/null
+++ b/tests/benchmarks/hash-object__write_text_1kb
@@ -0,0 +1,9 @@
+#!/bin/bash -e
+
+. "$(dirname "$0")/benchmark_helpers.sh"
+
+gitbench --prepare "sandbox_repo empty_standard_repo &&
+ create_text_file text_1kb 1024 &&
+ flush_disk_cache" \
+ --chdir "empty_standard_repo" \
+ hash-object "../text_1kb"