From 459b1da26feaba8ffba11ec22c1c859655f72749 Mon Sep 17 00:00:00 2001 From: lvsi <15239928381@163.com> Date: Wed, 8 Feb 2023 13:40:54 +0800 Subject: [PATCH] perf: add -r option of benchmark.sh to raise QPS --- test/benchmark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/benchmark.sh b/test/benchmark.sh index ba66c82..b34156b 100644 --- a/test/benchmark.sh +++ b/test/benchmark.sh @@ -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}