Update benchmark.sh
This commit is contained in:
parent
229c130dde
commit
6bfe4ac407
@ -25,6 +25,7 @@ then
|
|||||||
cp $HOME/go/bin/hey /usr/local/bin
|
cp $HOME/go/bin/hey /usr/local/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -e "Benchmarking GET functions\n"
|
||||||
for function in "${functions[@]}"
|
for function in "${functions[@]}"
|
||||||
do
|
do
|
||||||
echo -e "Benchmarking $function\n"
|
echo -e "Benchmarking $function\n"
|
||||||
@ -49,6 +50,7 @@ do
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo -e "Benchmarking POST functions\n"
|
||||||
for function in "${data[@]}"
|
for function in "${data[@]}"
|
||||||
do
|
do
|
||||||
echo -e "Benchmarking $function\n"
|
echo -e "Benchmarking $function\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user