@ -57,7 +57,7 @@ for ((i = 1; i < 2; i++)); do
# Calculate Success Rate for csv
awk -F, '
$7 == 200 && ($1 * 1000) <= '"$deadline"' {ok++}
END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)}
END{printf "'"$payload"',%3.5f\n", (ok / (NR - 1) * 100)}
' < "$results_directory/$payload.csv" >> "$results_directory/success.csv"
# Filter on 200s, convery from s to ms, and sort
@ -60,7 +60,7 @@ for ((i = 0; i < 2; i++)); do
$7 == 200 {denom++}
END{printf "'"$payload"',%3.5f%\n", (ok / denom * 100)}
END{printf "'"$payload"',%3.5f\n", (ok / denom * 100)}
@ -58,7 +58,7 @@ for ((i = 0; i < 1; i++)); do
END{printf "'"$payload"',%3.5%\n", (ok / denom * 100)}
@ -28,7 +28,7 @@ for ((i = 0; i < 2; i++)); do
@ -62,7 +62,7 @@ for ((i = 0; i < 2; i++)); do
@ -74,7 +74,7 @@ for scheduler in ${schedulers[*]}; do
@ -62,7 +62,7 @@ for payload in ${payloads[*]}; do
$7 == 200 {ok++}
@ -28,7 +28,7 @@ for payload in ${payloads[*]}; do