mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-22 07:43:39 +01:00
Allow overriding {WARMUP,RUN}_COUNT
using env
This commit is contained in:
parent
b5982a6174
commit
d64c568196
4
tests/benchmarks/run-benchmarks.sh
vendored
4
tests/benchmarks/run-benchmarks.sh
vendored
@ -49,8 +49,8 @@ REPORT="$RESULT_DIR/report.md"
|
|||||||
TARGET_DIR="$(get_cargo_target_dir)"
|
TARGET_DIR="$(get_cargo_target_dir)"
|
||||||
TARGET_RELEASE="${TARGET_DIR}/release/bat"
|
TARGET_RELEASE="${TARGET_DIR}/release/bat"
|
||||||
|
|
||||||
WARMUP_COUNT=3
|
: ${WARMUP_COUNT:=3}
|
||||||
RUN_COUNT=10
|
: ${RUN_COUNT:=10}
|
||||||
|
|
||||||
# Determine which target to benchmark.
|
# Determine which target to benchmark.
|
||||||
BAT=''
|
BAT=''
|
||||||
|
Loading…
Reference in New Issue
Block a user