Created
November 3, 2017 01:06
-
-
Save girvan/4c5a91415b67f7e5538f79d8f5f0e031 to your computer and use it in GitHub Desktop.
Revisions
-
girvan created this gist
Nov 3, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ cd ~/tmp/ url1=https://... url2=https://... url3=https://... for i in {1..500000}; do time1=$(curl -o /dev/null -s -w %{time_total} $url1) time2=$(curl -o /dev/null -s -w %{time_total} $url2) time3=$(curl -o /dev/null -s -w %{time_total} $url3) now=$(date +"%H:%M") echo -e "$now\t$time1\t$time2\t$time3" >> 100k.log sleep 60; done;