|
|
|
@ -29,7 +29,7 @@ for payload in ${payloads[*]}; do
|
|
|
|
|
awk -F, '
|
|
|
|
|
$7 == 200 {ok++}
|
|
|
|
|
END{printf "'"$payload"',%3.5f%\n", (ok / (NR - 1) * 100)}
|
|
|
|
|
' < "$results_directory/$payload.csv" >> "$results_directory/success.csv"
|
|
|
|
|
' < "$results_directory/$payload.csv" >> "$results_directory/success.csv"
|
|
|
|
|
|
|
|
|
|
# Filter on 200s, convery from s to ms, and sort
|
|
|
|
|
awk -F, '$7 == 200 {print ($1 * 1000)}' < "$results_directory/$payload.csv" \
|
|
|
|
@ -62,7 +62,7 @@ for payload in ${payloads[*]}; do
|
|
|
|
|
NR==p998 {printf "%1.4f,", $0}
|
|
|
|
|
NR==p999 {printf "%1.4f,", $0}
|
|
|
|
|
NR==p100 {printf "%1.4f\n", $0}
|
|
|
|
|
' < "$results_directory/$payload-response.csv" >> "$results_directory/latency.csv"
|
|
|
|
|
' < "$results_directory/$payload-response.csv" >> "$results_directory/latency.csv"
|
|
|
|
|
|
|
|
|
|
# Delete scratch file used for sorting/counting
|
|
|
|
|
# rm -rf "$results_directory/$payload-response.csv"
|
|
|
|
|