Skip to content

Instantly share code, notes, and snippets.

@hatzopoulos
hatzopoulos / curl.bash
Created February 4, 2015 23:58
curl performance tricks
## All Stats
curl -o /dev/null -s -w "\n\
url_effective: %{url_effective}\n\
http_code: %{http_code}\n\
http_connect: %{http_connect}\n\
time_namelookup: %{time_namelookup}\n\
time_connect: %{time_connect}\n\
time_appconnect: %{time_appconnect}\n\
time_pretransfer: %{time_pretransfer}\n\
time_redirect: %{time_redirect}\n\