Skip to content

Instantly share code, notes, and snippets.

@faust45
Created December 25, 2009 20:29
Show Gist options
  • Select an option

  • Save faust45/263741 to your computer and use it in GitHub Desktop.

Select an option

Save faust45/263741 to your computer and use it in GitHub Desktop.
debug_http () {
curl $@ -o /dev/null -w "dns: %{time_namelookup} connect: %{time_connect}
pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment