Skip to content

Commit

Permalink
Update bench shell
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Jul 23, 2021
1 parent 5408fba commit 1c74b7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bench-echo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ function go_bench() {
sleep 3
echo ""

echo "--- START ---"
echo "--- BENCHMARK START ---"
printf "*** %d connections, %d seconds, packet size: %d bytes\n" "$conn_num" "$test_duration" "$packet_size"
echo ""

tcpkali -c "$conn_num" -T "$test_duration"'s' -m "$packet" 127.0.0.1:"$4"
echo ""
echo "--- DONE ---"
echo "--- BENCHMARK DONE ---"
echo ""
}

Expand Down

0 comments on commit 1c74b7f

Please sign in to comment.