Last active
August 29, 2015 14:12
-
-
Save delputnam/347482e02e5edd6adb7b to your computer and use it in GitHub Desktop.
Get load time statistics using curl
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
Create a file named 'curl-format.txt': | |
time_namelookup: %{time_namelookup} s\n | |
time_connect: %{time_connect} s\n | |
time_appconnect: %{time_appconnect} s\n | |
time_pretransfer: %{time_pretransfer} s\n | |
time_redirect: %{time_redirect} s\n | |
time_starttransfer: %{time_starttransfer} s\n | |
----------\n | |
time_total: %{time_total} s\n | |
size_download: %{size_download} bytes\n | |
speed_download: %{speed_download} bytes/s\n | |
Run: curl -w "@curl-format.txt" -o /dev/null -s "http://possiblygeek.com" --no-sessionid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment