|
@@ -45,10 +45,10 @@ class FrameworkTest:
|
|
echo ""
|
|
echo ""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo " Running Warmup {name}"
|
|
echo " Running Warmup {name}"
|
|
- echo " {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} \"http://{server_host}:{port}{url}\""
|
|
|
|
|
|
+ echo " {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} \"http://{server_host}:{port}{url}\""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo ""
|
|
echo ""
|
|
- {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} "http://{server_host}:{port}{url}"
|
|
|
|
|
|
+ {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} "http://{server_host}:{port}{url}"
|
|
sleep 5
|
|
sleep 5
|
|
|
|
|
|
echo ""
|
|
echo ""
|
|
@@ -63,11 +63,11 @@ class FrameworkTest:
|
|
echo ""
|
|
echo ""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo " Concurrency: $c for {name}"
|
|
echo " Concurrency: $c for {name}"
|
|
- echo " {wrk} {headers} --latency -d {duration} -c $c --timeout $c -t $(($c>{max_threads}?{max_threads}:$c)) \"http://{server_host}:{port}{url}\""
|
|
|
|
|
|
+ echo " {wrk} {headers} --latency -d {duration} -c $c --timeout 8 -t $(($c>{max_threads}?{max_threads}:$c)) \"http://{server_host}:{port}{url}\""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo ""
|
|
echo ""
|
|
STARTTIME=$(date +"%s")
|
|
STARTTIME=$(date +"%s")
|
|
- {wrk} {headers} --latency -d {duration} -c $c --timeout $c -t "$(($c>{max_threads}?{max_threads}:$c))" http://{server_host}:{port}{url}
|
|
|
|
|
|
+ {wrk} {headers} --latency -d {duration} -c $c --timeout 8 -t "$(($c>{max_threads}?{max_threads}:$c))" http://{server_host}:{port}{url}
|
|
echo "STARTTIME $STARTTIME"
|
|
echo "STARTTIME $STARTTIME"
|
|
echo "ENDTIME $(date +"%s")"
|
|
echo "ENDTIME $(date +"%s")"
|
|
sleep 2
|
|
sleep 2
|
|
@@ -88,10 +88,10 @@ class FrameworkTest:
|
|
echo ""
|
|
echo ""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo " Running Warmup {name}"
|
|
echo " Running Warmup {name}"
|
|
- echo " {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} \"http://{server_host}:{port}{url}\""
|
|
|
|
|
|
+ echo " {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} \"http://{server_host}:{port}{url}\""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo ""
|
|
echo ""
|
|
- {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} "http://{server_host}:{port}{url}"
|
|
|
|
|
|
+ {wrk} {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} "http://{server_host}:{port}{url}"
|
|
sleep 5
|
|
sleep 5
|
|
|
|
|
|
echo ""
|
|
echo ""
|
|
@@ -106,11 +106,11 @@ class FrameworkTest:
|
|
echo ""
|
|
echo ""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo " Concurrency: $c for {name}"
|
|
echo " Concurrency: $c for {name}"
|
|
- echo " {wrk} {headers} --latency -d {duration} -c $c --timeout $c -t $(($c>{max_threads}?{max_threads}:$c)) \"http://{server_host}:{port}{url}\" -s ~/pipeline.lua -- {pipeline}"
|
|
|
|
|
|
+ echo " {wrk} {headers} --latency -d {duration} -c $c --timeout 8 -t $(($c>{max_threads}?{max_threads}:$c)) \"http://{server_host}:{port}{url}\" -s ~/pipeline.lua -- {pipeline}"
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo ""
|
|
echo ""
|
|
STARTTIME=$(date +"%s")
|
|
STARTTIME=$(date +"%s")
|
|
- {wrk} {headers} --latency -d {duration} -c $c --timeout $c -t "$(($c>{max_threads}?{max_threads}:$c))" http://{server_host}:{port}{url} -s ~/pipeline.lua -- {pipeline}
|
|
|
|
|
|
+ {wrk} {headers} --latency -d {duration} -c $c --timeout 8 -t "$(($c>{max_threads}?{max_threads}:$c))" http://{server_host}:{port}{url} -s ~/pipeline.lua -- {pipeline}
|
|
echo "STARTTIME $STARTTIME"
|
|
echo "STARTTIME $STARTTIME"
|
|
echo "ENDTIME $(date +"%s")"
|
|
echo "ENDTIME $(date +"%s")"
|
|
sleep 2
|
|
sleep 2
|
|
@@ -133,10 +133,10 @@ class FrameworkTest:
|
|
echo ""
|
|
echo ""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo " Running Warmup {name}"
|
|
echo " Running Warmup {name}"
|
|
- echo " wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} \"http://{server_host}:{port}{url}2\""
|
|
|
|
|
|
+ echo " wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} \"http://{server_host}:{port}{url}2\""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo ""
|
|
echo ""
|
|
- wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} "http://{server_host}:{port}{url}2"
|
|
|
|
|
|
+ wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} "http://{server_host}:{port}{url}2"
|
|
sleep 5
|
|
sleep 5
|
|
|
|
|
|
echo ""
|
|
echo ""
|
|
@@ -151,11 +151,11 @@ class FrameworkTest:
|
|
echo ""
|
|
echo ""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo " Queries: $c for {name}"
|
|
echo " Queries: $c for {name}"
|
|
- echo " wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} \"http://{server_host}:{port}{url}$c\""
|
|
|
|
|
|
+ echo " wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} \"http://{server_host}:{port}{url}$c\""
|
|
echo "---------------------------------------------------------"
|
|
echo "---------------------------------------------------------"
|
|
echo ""
|
|
echo ""
|
|
STARTTIME=$(date +"%s")
|
|
STARTTIME=$(date +"%s")
|
|
- wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout {max_concurrency} -t {max_threads} "http://{server_host}:{port}{url}$c"
|
|
|
|
|
|
+ wrk {headers} --latency -d {duration} -c {max_concurrency} --timeout 8 -t {max_threads} "http://{server_host}:{port}{url}$c"
|
|
echo "STARTTIME $STARTTIME"
|
|
echo "STARTTIME $STARTTIME"
|
|
echo "ENDTIME $(date +"%s")"
|
|
echo "ENDTIME $(date +"%s")"
|
|
sleep 2
|
|
sleep 2
|