mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
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.
10 lines
272 B
Bash
Executable File
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_10mb 10485760" \
|
|
--warmup 5 \
|
|
--chdir "empty_standard_repo" \
|
|
hash-object "../text_10mb"
|