Merge pull request #13318 from LeoYang90/fix-rw-benchmark

rw benchmark add val-size
This commit is contained in:
Sahdev Zala 2021-09-08 19:00:40 -04:00 committed by GitHub
commit 884e7ddb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,6 +182,7 @@ for RATIO_STR in ${RATIO_LIST}; do
--total=${RUN_COUNT} \
--endpoints "http://127.0.0.1:${CLIENT_PORT}" \
--rw-ratio ${RATIO} --limit ${RANGE_RESULT_LIMIT} \
--val-size ${VALUE_SIZE} \
2>/dev/null | grep "Requests/sec" | awk "{print \$2}")
if [ $? -ne 0 ]; then
echo "benchmark command failed: $?"