Skip to content

Instantly share code, notes, and snippets.

@n3gster
Created August 4, 2015 08:15
Show Gist options
  • Select an option

  • Save n3gster/713f810d338e61169d0d to your computer and use it in GitHub Desktop.

Select an option

Save n3gster/713f810d338e61169d0d to your computer and use it in GitHub Desktop.
Use Curl to measure latencies in milliseconds. Use: curl -s -o /dev/null -w "@curl-latency-format.txt" <URI>
\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
time_starttransfer: %{time_starttransfer}\n
---\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment