Skip to content

Instantly share code, notes, and snippets.

@wunki wunki/
Created Oct 9, 2018

What would you like to do?
function curl_time -d "Measure the response time for a given URL"
curl -so /dev/null -w "\
namelookup: %{time_namelookup}s\n\
connect: %{time_connect}s\n\
appconnect: %{time_appconnect}s\n\
pretransfer: %{time_pretransfer}s\n\
redirect: %{time_redirect}s\n\
starttransfer: %{time_starttransfer}s\n\
total: %{time_total}s\n" $argv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.