mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 11:06:32 +00:00
Benchmark scripts now have optional descriptions that will be persisted into the JSON output.
12 lines
338 B
Bash
Executable File
12 lines
338 B
Bash
Executable File
#!/bin/bash -e
|
|
#
|
|
# Description: write a 10mb text file to the object database
|
|
|
|
. "$(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 -w "../text_10mb"
|