Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 345 Bytes

timing.md

File metadata and controls

9 lines (6 loc) · 345 Bytes
while [ 1 ]; do date; time curl https://containers-api.ng.bluemix.net/v3/containers/version; sleep 1; done

command="curl https://containers-api.ng.bluemix.net/v3/containers/version"
command="time curl localhost:8081/v3/containers/version"


NOW=$(date +%s); while true; do $command; NOW2=$(date +%s);echo $(($NOW2-$NOW)); sleep 2; done