Created
May 17, 2013 03:59
-
-
Save fadhlirahim/5596849 to your computer and use it in GitHub Desktop.
simple load page time test using curl | grep | awk
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 characters
for i in {0..10}; do curl -w "time %{time_total}\n" -o /dev/null -L http://viki.com 2>&1; done | grep time | awk '{sum+=$2}END{print sum/10}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment