mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Benchmarks aren't tests; create a top-level `benchmarks` folder and move `tests/benchmarks` to `benchmarks/cli`.
10 lines
203 B
Bash
Executable File
10 lines
203 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
. "$(dirname "$0")/benchmark_helpers.sh"
|
|
|
|
needs_admin
|
|
|
|
gitbench --prepare "create_text_file text_100kb 102400 &&
|
|
flush_disk_cache" \
|
|
hash-object "text_100kb"
|