Skip to content

Commit

Permalink
perf: add -r option of benchmark.sh to raise QPS
Browse files Browse the repository at this point in the history
  • Loading branch information
WGrape committed Feb 8, 2023
1 parent 3ee5699 commit 459b1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
# bash test/benchmark.sh
# bash test/benchmark.sh url
# bash test/benchmark.sh api
command="ab -n 80000 -c 150 -k ${addrUrl}"
command="ab -r -n 100000 -c 500 -k ${addrUrl}"
echo -e $command
echo -e
${command}

0 comments on commit 459b1da

Please sign in to comment.