Created
February 4, 2016 16:45
-
-
Save philcryer/abbb686902b5c237b05a to your computer and use it in GitHub Desktop.
A curl one liner to test a site's response time - outputs various metrics - just include the target URL after the command.
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
curl -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nAppCon time:\t%{time_appconnect}\nRedirect time:\t%{time_redirect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null ${1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample output: