mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 17:55:08 +00:00
test(perf): reduce get_file_size loop count in benchmark
- lower iterations from 100 to 50 to reduce flaky timing noise
This commit is contained in:
@@ -77,7 +77,7 @@ setup() {
|
||||
local start end elapsed
|
||||
local limit_ms="${MOLE_PERF_GET_FILE_SIZE_LIMIT_MS:-2000}"
|
||||
start=$(date +%s%N)
|
||||
for i in {1..100}; do
|
||||
for i in {1..50}; do
|
||||
get_file_size "$test_file" > /dev/null
|
||||
done
|
||||
end=$(date +%s%N)
|
||||
|
||||
Reference in New Issue
Block a user